IS703: Decision Support and Optimization. Week 5: Mathematical Programming. Lau Hoong Chuin School of Information Systems

Size: px
Start display at page:

Download "IS703: Decision Support and Optimization. Week 5: Mathematical Programming. Lau Hoong Chuin School of Information Systems"

Transcription

1 IS703: Decision Support and Optimization Week 5: Mathematical Programming Lau Hoong Chuin School of Information Systems 1

2 Mathematical Programming - Scope Linear Programming Integer Programming Network flows (an introduction in previous class) Not Covered: Conve Programming Non-Linear Programming etc 2

3 Linear Programming (Adapted from Powerful model generalizes many classic problems: shortest path, ma flow, multicommodity flow, MST, matching, 2- person zero sum games Essential tool for optimal allocation of scarce resources, among a number of competing activities. Ranked among most important scientific advances of 20 th century. accounts for a major proportion of all scientific computation Helps find "good" solutions to NP-hard optimization problems. optimal solutions (branch-and-cut) provably good solutions (randomized rounding) 3

4 Linear Programming LP "standard" form. Input data: rational numbers c j, b i, a ij. Maimize linear objective function. Subject to linear inequalities. (P) ma s. t. n j = 1 n j = 1 c a j ij j j j b 0 i 1 i m 1 j n (P) ma s. t. c A b 0 4

5 LP: Geometry Geometry. Forms an n-dimensional polyhedron. (P) ma s. t. n j = 1 n j = 1 c a j ij j j j b 0 i 1 i m 1 j n Conve: if y and z are feasible solutions, then so is αy + (1- α)z, for all 0<α<1. Etreme points y y z z Conve Not conve 5

6 LP: Geometry Etreme Point Theorem. If there eists an optimal solution to standard form LP (P), then there eists one that is an etreme point. Only need to consider finitely many possible solutions. Greed. Local optima are global optima. 6

7 LP: Algorithms Simple. (Dantzig 1947) Developed shortly after WWII in response to logistical problems: used for 1948 Berlin airlift. Practical solution method that moves from one etreme point to a neighboring etreme point. Finite (eponential) compleity, but no polynomial implementation known. 7

8 LP: Polynomial Algorithms Ellipsoid. (Khachian 1979, 1980) Solvable in polynomial time: O(n 4 L) bit operations. n = # variables L = # bits in input Theoretical tour de force. Not remotely practical. Karmarkar's algorithm. (Karmarkar 1984) O(n 3.5 L). Polynomial and reasonably efficient implementations possible. Interior point algorithms. O(n 3 L). Competitive with simple! will likely dominate on large problems soon Etends to even more general problems. 8

9 LP Application: Weighted Bipartite Matching Assignment problem. Given a complete bipartite network K n,n and edge weights c ij, find a perfect matching of minimum weight. min s. t. 1 i n 1 j n c 1 i n Birkhoff-von Neumann theorem (1946, 1953). All etreme points of the above polyhedron are {0-1}-valued. Corollary. Can solve assignment problem using LP techniques since LP algorithms return optimal solution that is an etreme point. Remarks. (1) The above theorem is directly proven by applying the concept of totally unimodular matri. (2) Polynomial combinatorial algorithms also eist. ij 1 j n ij ij ij ij = = i j 1 i, j n n n 9

10 10 LP Application: Multicommodity Flow Multicommodity flow. Given a network G = (V, E) with edge capacities u(e) 0, edge costs c(e) 0, set of commodities K, and supply / demand d k (v) for commodity k at node v, find a minimum cost flow that satisfies all of the demand. Applications. Transportation networks. Communication networks. VLSI design. K k E e e E e e u e K k V v v d e e e e c k K k k k v e k v e k E e k k K k =, 0 ) ( ) ( ) (, ) ( ) ( ) ( t. s. ) ( ) ( min out of in to Remark. The problem is NP-hard if flows are integral!

11 Integer Programming An Integer Programming model is a linear programming problem where some or all of the variables are required to be non-negative integers. These models are in general substantially harder than solving linear programming models. Network models are special cases of integer programming models and are very efficiently solvable. Several applications of integer programming models. Branch and bound technique, one of the most popular algorithm to solve integer programming models.

12 12 Integer Programming Problem: Given rational numbers a ij, b i, c j, find integers j that solve: Claim. INTEGER-PROGRAMMING is NP-hard. Proof. VERTEX-COVER P INTEGER-PROGRAMMING. n j n j m i b a c j j i n j j ij n j j j = = 1 integral t. s. min 1 1

13 Weighted Verte Cover Weighted verte cover. Given an undirected graph G = (V, E) with verte weights w v 0, find a minimum weight subset of nodes S such that every edge is incident to at least one verte in S. NP-hard even if all weights are 1. Integer programming formulation. 10 A F6 9 ( ILP) min s. t. w v V v v + v w v 1 {0, 1} ( v, w) E v V 16 6 B C3 G7 H 10 9 If * is optimal solution to (ILP), then S = {v V: * v = 1} is a min weight verte cover D E I 10 J Total weight =

14 Classifications of IP Models Pure IP Model: Where all variables must take integer values. Maimize z = subject to , 2 0, 1 and 2 integer Mied IP Model: Where some variables must be integer while others can take real values. Maimize z = subject to , 2 0, 1 integer 0-1 IP Model: Where all variables must take values 0 or 1. Maimize z = 1-2 subject to , 1, 2 = 0 or 1

15 Classifications of IP Models (contd.) LP Relaation: The LP obtained by omitting all integer or 0-1 constraints on variables is called the LP relaation of IP. IP: LP Relaation: Maimize z = subject to , 2 0, 1 and 2 integer Maimize z = subject to , 2 0 Fact: Optimal objective value of IP Optimal objective value of LP relaation

16 Solving IP via LP relaation Solve the LP relaation Round-off the solution to the nearest feasible integer solution Any potential difficulty with this approach? =

17 Capital Budgeting Problem Stockco Co. is considering four investments It has $14,000 available for investment Formulate an IP model to maimize the NPV obtained from the investments IP: Investment choice Cash $5000 $7000 $4000 $3000 outflow NPV $16000 $22000 $12000 $8000 Maimize z = subject to , 2,, 3, 4 = 0, 1

18 Fied Charge Problem Gandhi cloth company manufactures three types of clothing: shirts, shorts, and pants Machinery must be rented on a weekly basis to make each type of clothing. Rental Cost: $200 per week for shirt machinery $150 per week for shorts machinery $100 per week for pants machinery There are 150 hours of labor available per week and 160 square yards of cloth Find a solution to maimize the weekly profit Labor hr Cloth yd Var. cost Price Shirts 3 4 $12 $6 Shorts 2 3 $8 $4 Pants 6 4 $15 $8

19 Fied Charge Problem (contd.) Decision Variables: 1 = number of shirts produced each week 2 = number of shorts produced each week 3 = number of pants produced each week y 1 = 1 if shirts are produced and 0 otherwise y 2 = 1 if shorts are produced and 0 otherwise y 3 = 1 if pants are produced and 0 otherwise Formulation: Ma. z = y y 2-100y 3 subject to M y 1, 2 M y 2, 3 M y 3 1, 2,, 3 0, and integer; y 1, y 2,, y 3 0, and integer

20 Either-Or Constraints Dorian Auto is considering manufacturing three types of auto: compact, midsize, large. Resources required and profits obtained from these cars are given below. We have 6,000 tons of steel and 60,000 hours of labor available. If any car is produced, we must produce at least 1,000 units of that car. Find a production plan to maimize the profit. Compact Midsize Large Steel Req. 1.5 tons 3 tons 5 tons Labor Req. 30 hours 25 hours 40 hours Profit $2000 $3000 $4000

21 Either-Or Constraints (contd.) Decision Variables: 1, 2, 3 = number of compact, midsize and large cars produced y 1, y 2, y 3 = 1 if compact, midsize and large cars are produced or not Formulation: Maimize z = subject to 1 My 1 ; 2 My 2 ; 3 My M(1-y 1 ) M(1-y 2 ) M(1-y 3 ) , 2, 3 0 and integer; y 1, y 2, y 3 = 0 or 1

22 Set Covering Problems Western Airlines has decided to have hubs in USA. Western runs flights between the following cities: Atlanta, Boston, Chicago, Denver, Houston, Los Angeles, New Orleans, New York, Pittsburgh, Salt Lake City, San Francisco, and Seattle. Western needs to have a hub within 1000 miles of each of these cities. Determine the minimum number of hubs Atlanta (AT) Boston (BO) Chicago (CH) Denver (DE) Houston (HO) Los Angeles (LA) New Orleans (NO) New York (NY) Pittsburgh (PI) Salt Lake City (SL) San Francisco (SF) Seattle (SE) Cities within 1000 miles AT, CH, HO, NO, NY, PI BO, NY, PI AT, CH, NY, NO, PI DE, SL AT, HO, NO LA, SL, SF AT, CH, HO, NO AT, BO, CH, NY, PI AT, BO, CH, NY, PI DE, LA, SL, SF, SE LA, SL, SF, SE SL, SF, SE

23 Formulation of Set Covering Problems Decision Variables: i = 1 if a hub is located in city i i = 0 if a hub is not located in city i Minimize AT + BO + CH + DE + HO + LA + NO + NY + PI + SL + SF + SE subject to AT BO CH DE HO LA NO NY PI SL SF SE Required AT AT >= 1 BO BO >= 1 CH CH >= 1 DE DE >= 1 HO HO >= 1 LA LA >= 1 NO NO >= 1 NY NY >= 1 PI PI >= 1 SL SL >= 1 SF SF >= 1 SE SE >= 1

24 IP: Logistics/Supply Chain Applications Set covering and partitioning Scheduling airline crews Manpower rostering Facility location Locating warehouses or franchises Multicommodity distribution Distributing auto parts Traveling salesman / Vehicle routing Routing pickups and deliveries Eercise: Model TSP as an IP

25 Branch and Bound The most popular approach for solving integer programming problems Enumerate the entire solution space but only implicity; hence they are called implicit enumeration algorithms. A general-purpose solution technique which must be specialized for individual IP's. Running time grows eponentially with the problem size, but small to moderate size problems can be solved in reasonable time. A divide and conquer algorithm, where a problem is divided into smaller and smaller subproblems. Each subproblem is solved separately, and the best solution is taken.

26 Branch-and-Bound Search Represent search space as trees Search tree Each leaf node represents a feasible solution Non-leaf node represents a subset of feasible solutions Parent-child relationship represents partition of search space into sub-spaces Idea: if we can drastically reduce solution space from one level to net, total number of nodes eplored will be reduced 26

27 Branch-and-Bound Search S (a) S1 S2 S4 S3 S1 S2 S3 S4 (b) S21 S1 * S31 S22 S32 * S4 S1 S2 S3 S4 * = does not contain optimal solution (c) S21 S22 S23 S24 Figure 1: Illustration of the search space of B&B. 27

28 Elements of Branch-and-Bound 1. Branching rule Rule for dividing the solution space into sub-spaces (sub-problem) 2. Node-selection (search/eploration) strategy Select net node to be eplored net DFS, BFS, Best-First Search 3. Bounding function Function that computes the lower bound for the best solution obtainable in that search space 4. Upper bounding Process of obtaining an upper bound for each subproblem 5. Pruning strategy If for a subproblem, UB LB, then the subproblem need not be eplored further 28

29 Bounding Function f g S P Figure 2: The relation between the bounding function g and the objective function f on the sets S and P of feasible and potential solutions of a problem. 29

30 Branch-and-Bound Algorithm (sketch) Start with complete feasible solution space and a naïve initial solution upper bound = objective value of best solution found so far Among uneplored nodes do Select a non-leaf node based on selection strategy Partition the feasible space into sub-spaces based on branching rule For each sub-space do If leaf node reached and beats best solution, update best solution, else discard and eit Compute lower-bound If lower bound >= upper bound, prune the sub-space Else create a sub-space node and add to list of uneplored nodes 30

31 Eample: TSP Find optimal tour by systematically considering all tours Strategy 1 (ehaustive search): Consider all permutations of the cities (vertices) Evaluate each tour (given by particular verte order) Keep track of shortest tour (n-1)! permutations, each takes O(n) time to evaluate Don t look at all n permutations, since we don t care about starting point of tour: A,B,C,(A) is same tour as C,A,B,(C) Unacceptable for large n Strategy 2 (dynamic programming): O(n 2 2 n ) 31

32 Eample: TSP Strategy 3: Branch-and-Bound Construct a tree with a root that represents all tours (tours are feasible solutions) Each node has two children One child represents tours with a particular edge Other child represents tours without that edge Choose edges in leicographic order, i.e. ab, ac, ad, etc 32

33 TSP Search Tree all tours tours with (a,b) tours without (a,b) tours with (a,b) and (a,c) pruned (infeasible) tours with (a,b) and (a,c) not (a,d) tours with (a,b) and (a,d) not (a,c) tours with (a,b) not (a,c) tours with (a,b) not (a,c) or (a,d) tours with (a,c) not (a,b) : not shown tours with (a,d) not (a,b) or (a,c) tours without (a,b) or (a,c) tours without (a,d), (a,b) or (a,c) 33

34 Lower bound Compute a lower bound on the cost of feasible solutions below node n If current solution is better (lower) than lower bound for node n, need not eplore any nodes below n For TSP, lower bound on cost of tour What s an obvious loose lower bound? Tighter bound: half the sum over all nodes n of the 2 least cost edges incident upon n More precisely, let e 1 (n) and e 2 (n) be the two least cost edges incident to n, then LB = ( n V e 1 (n)+e 2 (n)) / 2 Proof. Left as an eercise. (Hint: consider situation at each node, and sum up over all nodes.) 34

35 Eample 3 a 3 b e 8 c d 2 least cost edges adjacent to a are: (a,d) and (a,b) for total of 2+3=5 2 least cost edges adjacent to b are: (a,b) and (b,e) for total of 3+3=6 c, d, e: total of 8, 7, 9 respectively lower bound on cost of tour is ( )/2 =

36 Lower Bound for Subset of Tours Lower bound on the cost of node in search tree Each node represents tours defined by a set of edges that must be in tour and set of edges that may not be included Assume we must include (a,e) and eclude (b,c) a: (a,d) and (a,e), total 9 // must include (a,e) instead of (a,b) b: (a,b) and (b,e), total 6 c: (a,c) and (c,d), total 9 // cannot use (b,c) d: (a,d) and (c,d), total 7 e: (a,e) and (b,e), total 10 // must include (a,e) instead of (e,d) lower bound = ( )/2 =

37 Reconstruct Search Tree Each time we branch, decide on which edge to include/eclude based on: Include (,y) if it becomes impossible for or y to have two adjacent edges in tour otherwise Eclude (,y) if it raises degree of or y above 2 Eclude (,y) if it would complete a non-tour cycle with selected edges After branch, compute lower bounds for both children Prune child whose lower bound is as high or higher than best tour found so far If neither child can be pruned, eplore child with smaller lower bound first 37

38 New Search Tree LB A 17.5 no constraints B 17.5 ab C 18.5 ab D 20.5 ac ad ae E 18 ac J 18.5 ac K 21 ac ad ae pruned after discovery of I F 18 ad ae G 23 ad ae L 18.6 ad ae M 23.5 ad ae pruned H I pruned after discovery of I N P pruned bc bd be ce de cd bc cd ce bd de be bc cd ce bd de be bc bd be ce de cd tour= abceda cost=23 tour= abecda cost=21 tour= acbeda cost=19 tour= acebda cost=23 38

39 Analysis Search space: still (n-1)! in worst-case But much better on average Depends on the 3 elements of B&B 39

40 0-1 Knapsack Problem ma z = subject to the following constraints: <= 14 j = 0 or 1, for all j A simple way to get the initial solution: Set i = 1 for i = 1,2, until the constraint is violated. e.g. 1 =1, 2 =1, 3 =0, 4 =0. Lower bound = = 38 Integer programming (IP) formulation Any sub-space that has an upper bound <=38 can be pruned. What is a good upper bound? 40

41 Upper Bounding Function: Fractional Knapsack Problem ma z = subject to the following constraints: <= 14 0<= j <=1, for all j p j To solve it : order items according to nonincreasing value w j and make the ' s in this order as large as possible, i.e. Greedy! j j p j w j ratio ranking LP solution : Linear programming (LP) Relaation = = = 0.5, 0 2 = 1, 41

42 Branch and Bound Tree 1 Subproblem 1 z = 44, LB=38 1 = 2 = 1 3 =.5 3 = 0 3 = = 0 Subproblem 2 z = 43.3, LB=38 1 = 2 =1 3 = 0, 4 =.67 8 Subproblem 8 z = 38, LB=42 1 = 2 =1 3 = 4 = 0 9 pruned LB=42 4 = 1 Subproblem 9 z= 42.85, LB=42 1 = 4 =1 3 = 0, 2 =.85 pruned 2 = 0 pruned Subproblem 3 z = 43.4, LB=38 1 = 3 = 1, 2 =.7, 4 =0 3 4 Subproblem 4 Subproblem 5 z = 36, LB=38 z = 43.6, LB=38 1 = 3 =1 1 =.6, 2 = 3 =1 2 = 0, 4 =1 4 = 0 1 = 0 1 = = 1 5 Subproblem 6 z = 42, LB=38 1 =0, 2 = 3 =1 4 = 1 6 Subproblem 7 LB = 42 Infeasible 42

43 Practical Developments Good formulations, heuristics and theory Goal: to get LP solution as close as possible to IP solution Disaggregation, adding constraints (cuts) Preprocessing Automatic methods for reformulation Some interesting graph theory is involved Cut generation (branch-and-cut) Add cuts during the branch-and-bound Column generation Improve formulation by introducing an eponential number of variables. 43

44 Eercise: Generalized Assignment Problem In this problem, we assign m jobs to n machines Machine: The total available time of machine j is T j Jobs: If job i is performed on machine j, it costs a ij, and requires t ij time units. A job must be assigned to one machine in its entirety The problem is to find a minimum cost assignment of all jobs. Design a B&B approach to find the optimal solution. 44

Integer Programming and Branch and Bound

Integer Programming and Branch and Bound Courtesy of Sommer Gentry. Used with permission. Integer Programming and Branch and Bound Sommer Gentry November 4 th, 003 Adapted from slides by Eric Feron and Brian Williams, 6.40, 00. Integer Programming

More information

is called an integer programming (IP) problem. model is called a mixed integer programming (MIP)

is called an integer programming (IP) problem. model is called a mixed integer programming (MIP) INTEGER PROGRAMMING Integer Programming g In many problems the decision variables must have integer values. Example: assign people, machines, and vehicles to activities in integer quantities. If this is

More information

Integer Linear Programming (ILP)

Integer Linear Programming (ILP) Integer Linear Programming (ILP) Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU in Prague March 8, 2017 Z. Hanzálek (CTU) Integer Linear Programming (ILP) March 8, 2017 1 / 43 Table of contents

More information

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009 Branch-and-Bound Algorithm November 3, 2009 Outline Lecture 23 Modeling aspect: Either-Or requirement Special ILPs: Totally unimodular matrices Branch-and-Bound Algorithm Underlying idea Terminology Formal

More information

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 21 Dr. Ted Ralphs IE406 Lecture 21 1 Reading for This Lecture Bertsimas Sections 10.2, 10.3, 11.1, 11.2 IE406 Lecture 21 2 Branch and Bound Branch

More information

Week Cuts, Branch & Bound, and Lagrangean Relaxation

Week Cuts, Branch & Bound, and Lagrangean Relaxation Week 11 1 Integer Linear Programming This week we will discuss solution methods for solving integer linear programming problems. I will skip the part on complexity theory, Section 11.8, although this is

More information

INTEGER PROGRAMMING. In many problems the decision variables must have integer values.

INTEGER PROGRAMMING. In many problems the decision variables must have integer values. INTEGER PROGRAMMING Integer Programming In many problems the decision variables must have integer values. Example:assign people, machines, and vehicles to activities in integer quantities. If this is the

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 11: Integer Programming Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/ School of Mathematical

More information

5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1

5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1 5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Definition: An Integer Linear Programming problem is an optimization problem of the form (ILP) min

More information

Integer Programming Part II

Integer Programming Part II Be the first in your neighborhood to master this delightful little algorithm. Integer Programming Part II The Branch and Bound Algorithm learn about fathoming, bounding, branching, pruning, and much more!

More information

Class Meeting #20 COS 226 Spring 2018

Class Meeting #20 COS 226 Spring 2018 Class Meeting #20 COS 226 Spring 2018 Mark Braverman (based on slides by Robert Sedgewick and Kevin Wayne) Linear programming A Swiss army knife for optimization algorithms. Can solve a large fraction

More information

Part III: Traveling salesman problems

Part III: Traveling salesman problems Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/282 Motivation Motivation Why do we study the TSP? c R.F. Hartl, S.N. Parragh 2/282 Motivation Motivation Why

More information

MODELING (Integer Programming Examples)

MODELING (Integer Programming Examples) MODELING (Integer Programming Eamples) IE 400 Principles of Engineering Management Integer Programming: Set 5 Integer Programming: So far, we have considered problems under the following assumptions:

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Sito web: http://home.deib.polimi.it/amaldi/ott-13-14.shtml A.A. 2013-14 Edoardo

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17

More information

Introduction to optimization and operations research

Introduction to optimization and operations research Introduction to optimization and operations research David Pisinger, Fall 2002 1 Smoked ham (Chvatal 1.6, adapted from Greene et al. (1957)) A meat packing plant produces 480 hams, 400 pork bellies, and

More information

Integer Programming. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Integer Programming. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall Integer Programming Chapter 5 5-1 Chapter Topics Integer Programming (IP) Models Integer Programming Graphical Solution Computer Solution of Integer Programming Problems With Excel and QM for Windows 0-1

More information

3.10 Column generation method

3.10 Column generation method 3.10 Column generation method Many relevant decision-making (discrete optimization) problems can be formulated as ILP problems with a very large (exponential) number of variables. Examples: cutting stock,

More information

Chapter 5 Integer Programming

Chapter 5 Integer Programming Chapter 5 Integer Programming Chapter Topics Integer Programming (IP) Models Integer Programming Graphical Solution Computer Solution of Integer Programming Problems With Excel 2 1 Integer Programming

More information

Introduction to Integer Linear Programming

Introduction to Integer Linear Programming Lecture 7/12/2006 p. 1/30 Introduction to Integer Linear Programming Leo Liberti, Ruslan Sadykov LIX, École Polytechnique liberti@lix.polytechnique.fr sadykov@lix.polytechnique.fr Lecture 7/12/2006 p.

More information

Introduction to Integer Programming

Introduction to Integer Programming Lecture 3/3/2006 p. /27 Introduction to Integer Programming Leo Liberti LIX, École Polytechnique liberti@lix.polytechnique.fr Lecture 3/3/2006 p. 2/27 Contents IP formulations and examples Total unimodularity

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

15.081J/6.251J Introduction to Mathematical Programming. Lecture 24: Discrete Optimization

15.081J/6.251J Introduction to Mathematical Programming. Lecture 24: Discrete Optimization 15.081J/6.251J Introduction to Mathematical Programming Lecture 24: Discrete Optimization 1 Outline Modeling with integer variables Slide 1 What is a good formulation? Theme: The Power of Formulations

More information

Optimization in Process Systems Engineering

Optimization in Process Systems Engineering Optimization in Process Systems Engineering M.Sc. Jan Kronqvist Process Design & Systems Engineering Laboratory Faculty of Science and Engineering Åbo Akademi University Most optimization problems in production

More information

Part III: Traveling salesman problems

Part III: Traveling salesman problems Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/74 Motivation Motivation Why do we study the TSP? it easy to formulate it is a difficult problem many significant

More information

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748 COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu https://moodle.cis.fiu.edu/v2.1/course/view.php?id=612 Gaussian Elimination! Solving a system of simultaneous

More information

Asymmetric Traveling Salesman Problem (ATSP): Models

Asymmetric Traveling Salesman Problem (ATSP): Models Asymmetric Traveling Salesman Problem (ATSP): Models Given a DIRECTED GRAPH G = (V,A) with V = {,, n} verte set A = {(i, j) : i V, j V} arc set (complete digraph) c ij = cost associated with arc (i, j)

More information

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest

More information

4/12/2011. Chapter 8. NP and Computational Intractability. Directed Hamiltonian Cycle. Traveling Salesman Problem. Directed Hamiltonian Cycle

4/12/2011. Chapter 8. NP and Computational Intractability. Directed Hamiltonian Cycle. Traveling Salesman Problem. Directed Hamiltonian Cycle Directed Hamiltonian Cycle Chapter 8 NP and Computational Intractability Claim. G has a Hamiltonian cycle iff G' does. Pf. Suppose G has a directed Hamiltonian cycle Γ. Then G' has an undirected Hamiltonian

More information

3.10 Column generation method

3.10 Column generation method 3.10 Column generation method Many relevant decision-making problems can be formulated as ILP problems with a very large (exponential) number of variables. Examples: cutting stock, crew scheduling, vehicle

More information

Travelling Salesman Problem

Travelling Salesman Problem Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman

More information

19. Fixed costs and variable bounds

19. Fixed costs and variable bounds CS/ECE/ISyE 524 Introduction to Optimization Spring 2017 18 19. Fixed costs and variable bounds ˆ Fixed cost example ˆ Logic and the Big M Method ˆ Example: facility location ˆ Variable lower bounds Laurent

More information

Resource Constrained Project Scheduling Linear and Integer Programming (1)

Resource Constrained Project Scheduling Linear and Integer Programming (1) DM204, 2010 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Resource Constrained Project Linear and Integer Programming (1) Marco Chiarandini Department of Mathematics & Computer Science University of Southern

More information

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous

More information

Integer Linear Programming Modeling

Integer Linear Programming Modeling DM554/DM545 Linear and Lecture 9 Integer Linear Programming Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. Assignment Problem Knapsack Problem

More information

LECTURE 1: INTRODUCTION

LECTURE 1: INTRODUCTION LECTURE 1: INTRODUCTION What is a Network? What is a Network? What is the meaning of Network Flows? In our course, a network G=(N,A) consists of a finite number of nodes (in N) which are connected by arcs

More information

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502) Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise

More information

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source

More information

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 and Mixed Integer Programg Marco Chiarandini 1. Resource Constrained Project Model 2. Mathematical Programg 2 Outline Outline 1. Resource Constrained

More information

Integer programming: an introduction. Alessandro Astolfi

Integer programming: an introduction. Alessandro Astolfi Integer programming: an introduction Alessandro Astolfi Outline Introduction Examples Methods for solving ILP Optimization on graphs LP problems with integer solutions Summary Introduction Integer programming

More information

EXACT ALGORITHMS FOR THE ATSP

EXACT ALGORITHMS FOR THE ATSP EXACT ALGORITHMS FOR THE ATSP Branch-and-Bound Algorithms: Little-Murty-Sweeney-Karel (Operations Research, ); Bellmore-Malone (Operations Research, ); Garfinkel (Operations Research, ); Smith-Srinivasan-Thompson

More information

Section #2: Linear and Integer Programming

Section #2: Linear and Integer Programming Section #2: Linear and Integer Programming Prof. Dr. Sven Seuken 8.3.2012 (with most slides borrowed from David Parkes) Housekeeping Game Theory homework submitted? HW-00 and HW-01 returned Feedback on

More information

Modeling with Integer Programming

Modeling with Integer Programming Modeling with Integer Programg Laura Galli December 18, 2014 We can use 0-1 (binary) variables for a variety of purposes, such as: Modeling yes/no decisions Enforcing disjunctions Enforcing logical conditions

More information

CS/COE

CS/COE CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ P vs NP But first, something completely different... Some computational problems are unsolvable No algorithm can be written that will always produce the correct

More information

Advanced linear programming

Advanced linear programming Advanced linear programming http://www.staff.science.uu.nl/~akker103/alp/ Chapter 10: Integer linear programming models Marjan van den Akker 1 Intro. Marjan van den Akker Master Mathematics TU/e PhD Mathematics

More information

Projection in Logic, CP, and Optimization

Projection in Logic, CP, and Optimization Projection in Logic, CP, and Optimization John Hooker Carnegie Mellon University Workshop on Logic and Search Melbourne, 2017 Projection as a Unifying Concept Projection is a fundamental concept in logic,

More information

CS Algorithms and Complexity

CS Algorithms and Complexity CS 50 - Algorithms and Complexity Linear Programming, the Simplex Method, and Hard Problems Sean Anderson 2/15/18 Portland State University Table of contents 1. The Simplex Method 2. The Graph Problem

More information

In complexity theory, algorithms and problems are classified by the growth order of computation time as a function of instance size.

In complexity theory, algorithms and problems are classified by the growth order of computation time as a function of instance size. 10 2.2. CLASSES OF COMPUTATIONAL COMPLEXITY An optimization problem is defined as a class of similar problems with different input parameters. Each individual case with fixed parameter values is called

More information

What is an integer program? Modelling with Integer Variables. Mixed Integer Program. Let us start with a linear program: max cx s.t.

What is an integer program? Modelling with Integer Variables. Mixed Integer Program. Let us start with a linear program: max cx s.t. Modelling with Integer Variables jesla@mandtudk Department of Management Engineering Technical University of Denmark What is an integer program? Let us start with a linear program: st Ax b x 0 where A

More information

Optimization Exercise Set n.5 :

Optimization Exercise Set n.5 : Optimization Exercise Set n.5 : Prepared by S. Coniglio translated by O. Jabali 2016/2017 1 5.1 Airport location In air transportation, usually there is not a direct connection between every pair of airports.

More information

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2)

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2) Algorithms and Theory of Computation Lecture 13: Linear Programming (2) Xiaohui Bei MAS 714 September 25, 2018 Nanyang Technological University MAS 714 September 25, 2018 1 / 15 LP Duality Primal problem

More information

Optimization Exercise Set n. 4 :

Optimization Exercise Set n. 4 : Optimization Exercise Set n. 4 : Prepared by S. Coniglio and E. Amaldi translated by O. Jabali 2018/2019 1 4.1 Airport location In air transportation, usually there is not a direct connection between every

More information

Discrete Optimization in a Nutshell

Discrete Optimization in a Nutshell Discrete Optimization in a Nutshell Integer Optimization Christoph Helmberg : [,] Contents Integer Optimization 2: 2 [2,2] Contents Integer Optimization. Bipartite Matching.2 Integral Polyhedra ( and directed

More information

3.4 Relaxations and bounds

3.4 Relaxations and bounds 3.4 Relaxations and bounds Consider a generic Discrete Optimization problem z = min{c(x) : x X} with an optimal solution x X. In general, the algorithms generate not only a decreasing sequence of upper

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should

More information

Unit 1A: Computational Complexity

Unit 1A: Computational Complexity Unit 1A: Computational Complexity Course contents: Computational complexity NP-completeness Algorithmic Paradigms Readings Chapters 3, 4, and 5 Unit 1A 1 O: Upper Bounding Function Def: f(n)= O(g(n)) if

More information

Linear and Integer Programming - ideas

Linear and Integer Programming - ideas Linear and Integer Programming - ideas Paweł Zieliński Institute of Mathematics and Computer Science, Wrocław University of Technology, Poland http://www.im.pwr.wroc.pl/ pziel/ Toulouse, France 2012 Literature

More information

Linear Programming. Scheduling problems

Linear Programming. Scheduling problems Linear Programming Scheduling problems Linear programming (LP) ( )., 1, for 0 min 1 1 1 1 1 11 1 1 n i x b x a x a b x a x a x c x c x z i m n mn m n n n n! = + + + + + + = Extreme points x ={x 1,,x n

More information

Discrete Optimization 2010 Lecture 7 Introduction to Integer Programming

Discrete Optimization 2010 Lecture 7 Introduction to Integer Programming Discrete Optimization 2010 Lecture 7 Introduction to Integer Programming Marc Uetz University of Twente m.uetz@utwente.nl Lecture 8: sheet 1 / 32 Marc Uetz Discrete Optimization Outline 1 Intro: The Matching

More information

The P versus NP Problem. Ker-I Ko. Stony Brook, New York

The P versus NP Problem. Ker-I Ko. Stony Brook, New York The P versus NP Problem Ker-I Ko Stony Brook, New York ? P = NP One of the seven Millenium Problems The youngest one A folklore question? Has hundreds of equivalent forms Informal Definitions P : Computational

More information

3.3 Easy ILP problems and totally unimodular matrices

3.3 Easy ILP problems and totally unimodular matrices 3.3 Easy ILP problems and totally unimodular matrices Consider a generic ILP problem expressed in standard form where A Z m n with n m, and b Z m. min{c t x : Ax = b, x Z n +} (1) P(b) = {x R n : Ax =

More information

where X is the feasible region, i.e., the set of the feasible solutions.

where X is the feasible region, i.e., the set of the feasible solutions. 3.5 Branch and Bound Consider a generic Discrete Optimization problem (P) z = max{c(x) : x X }, where X is the feasible region, i.e., the set of the feasible solutions. Branch and Bound is a general semi-enumerative

More information

Reconnect 04 Introduction to Integer Programming

Reconnect 04 Introduction to Integer Programming Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, Reconnect 04 Introduction to Integer Programming Cynthia Phillips, Sandia National Laboratories Integer programming

More information

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs Computational Integer Programming Lecture 2: Modeling and Formulation Dr. Ted Ralphs Computational MILP Lecture 2 1 Reading for This Lecture N&W Sections I.1.1-I.1.6 Wolsey Chapter 1 CCZ Chapter 2 Computational

More information

Analysis of Algorithms. Unit 5 - Intractable Problems

Analysis of Algorithms. Unit 5 - Intractable Problems Analysis of Algorithms Unit 5 - Intractable Problems 1 Intractable Problems Tractable Problems vs. Intractable Problems Polynomial Problems NP Problems NP Complete and NP Hard Problems 2 In this unit we

More information

Exercises - Linear Programming

Exercises - Linear Programming Chapter 38 Exercises - Linear Programming By Sariel Har-Peled, December 10, 2007 1 Version: 1.0 This chapter include problems that are related to linear programming. 38.1 Miscellaneous Exercise 38.1.1

More information

Multicommodity Flows and Column Generation

Multicommodity Flows and Column Generation Lecture Notes Multicommodity Flows and Column Generation Marc Pfetsch Zuse Institute Berlin pfetsch@zib.de last change: 2/8/2006 Technische Universität Berlin Fakultät II, Institut für Mathematik WS 2006/07

More information

The traveling salesman problem

The traveling salesman problem Chapter 58 The traveling salesman problem The traveling salesman problem (TSP) asks for a shortest Hamiltonian circuit in a graph. It belongs to the most seductive problems in combinatorial optimization,

More information

Algorithms and Complexity theory

Algorithms and Complexity theory Algorithms and Complexity theory Thibaut Barthelemy Some slides kindly provided by Fabien Tricoire University of Vienna WS 2014 Outline 1 Algorithms Overview How to write an algorithm 2 Complexity theory

More information

(tree searching technique) (Boolean formulas) satisfying assignment: (X 1, X 2 )

(tree searching technique) (Boolean formulas) satisfying assignment: (X 1, X 2 ) Algorithms Chapter 5: The Tree Searching Strategy - Examples 1 / 11 Chapter 5: The Tree Searching Strategy 1. Ex 5.1Determine the satisfiability of the following Boolean formulas by depth-first search

More information

Discrete (and Continuous) Optimization WI4 131

Discrete (and Continuous) Optimization WI4 131 Discrete (and Continuous) Optimization WI4 131 Kees Roos Technische Universiteit Delft Faculteit Electrotechniek, Wiskunde en Informatica Afdeling Informatie, Systemen en Algoritmiek e-mail: C.Roos@ewi.tudelft.nl

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.

More information

Transportation Problem

Transportation Problem Transportation Problem. Production costs at factories F, F, F and F 4 are Rs.,, and respectively. The production capacities are 0, 70, 40 and 0 units respectively. Four stores S, S, S and S 4 have requirements

More information

! Fast commercial solvers: CPLEX, OSL. ! Powerful modeling languages: AMPL, GAMS. ! Ranked among most important scientific advances of 20 th century.

! Fast commercial solvers: CPLEX, OSL. ! Powerful modeling languages: AMPL, GAMS. ! Ranked among most important scientific advances of 20 th century. Linear Programming Linear Programming see ORF 07 What is it?! Quintessential tool for optimal allocation of scarce resources, among a number of competing activities.! Powerful and general problem-solving

More information

Branch-and-Bound. Leo Liberti. LIX, École Polytechnique, France. INF , Lecture p. 1

Branch-and-Bound. Leo Liberti. LIX, École Polytechnique, France. INF , Lecture p. 1 Branch-and-Bound Leo Liberti LIX, École Polytechnique, France INF431 2011, Lecture p. 1 Reminders INF431 2011, Lecture p. 2 Problems Decision problem: a question admitting a YES/NO answer Example HAMILTONIAN

More information

Algorithms Design & Analysis. Approximation Algorithm

Algorithms Design & Analysis. Approximation Algorithm Algorithms Design & Analysis Approximation Algorithm Recap External memory model Merge sort Distribution sort 2 Today s Topics Hard problem Approximation algorithms Metric traveling salesman problem A

More information

Lecture 8: Column Generation

Lecture 8: Column Generation Lecture 8: Column Generation (3 units) Outline Cutting stock problem Classical IP formulation Set covering formulation Column generation A dual perspective Vehicle routing problem 1 / 33 Cutting stock

More information

A Framework for Integrating Optimization and Constraint Programming

A Framework for Integrating Optimization and Constraint Programming A Framework for Integrating Optimization and Constraint Programming John Hooker Carnegie Mellon University SARA 2007 SARA 07 Slide Underlying theme Model vs. solution method. How can we match the model

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE 0, Winter 208 Design and Analsis of Algorithms Lecture 6: NP-Completeness, Part 2 Class URL: http://vlsicad.ucsd.edu/courses/cse0-w8/ The Classes P and NP Classes of Decision Problems P: Problems for

More information

Combinatorial optimization problems

Combinatorial optimization problems Combinatorial optimization problems Heuristic Algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Optimization In general an optimization problem can be formulated as:

More information

Integer Programming ISE 418. Lecture 8. Dr. Ted Ralphs

Integer Programming ISE 418. Lecture 8. Dr. Ted Ralphs Integer Programming ISE 418 Lecture 8 Dr. Ted Ralphs ISE 418 Lecture 8 1 Reading for This Lecture Wolsey Chapter 2 Nemhauser and Wolsey Sections II.3.1, II.3.6, II.4.1, II.4.2, II.5.4 Duality for Mixed-Integer

More information

Computational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs

Computational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs Computational Complexity IE 496 Lecture 6 Dr. Ted Ralphs IE496 Lecture 6 1 Reading for This Lecture N&W Sections I.5.1 and I.5.2 Wolsey Chapter 6 Kozen Lectures 21-25 IE496 Lecture 6 2 Introduction to

More information

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs LP-Duality ( Approximation Algorithms by V. Vazirani, Chapter 12) - Well-characterized problems, min-max relations, approximate certificates - LP problems in the standard form, primal and dual linear programs

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 15: The Greedy Heuristic Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/ School of

More information

Data Structures in Java

Data Structures in Java Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways

More information

Advanced Linear Programming: The Exercises

Advanced Linear Programming: The Exercises Advanced Linear Programming: The Exercises The answers are sometimes not written out completely. 1.5 a) min c T x + d T y Ax + By b y = x (1) First reformulation, using z smallest number satisfying x z

More information

Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini

Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini In the name of God Network Flows 6. Lagrangian Relaxation 6.3 Lagrangian Relaxation and Integer Programming Fall 2010 Instructor: Dr. Masoud Yaghini Integer Programming Outline Branch-and-Bound Technique

More information

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2 ex-5.-5. Foundations of Operations Research Prof. E. Amaldi 5. Branch-and-Bound Given the integer linear program maxz = x +x x +x 6 x +x 9 x,x integer solve it via the Branch-and-Bound method (solving

More information

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation

Outline. Relaxation. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Lagrangian Relaxation. Lecture 12 Single Machine Models, Column Generation Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING 1. Lagrangian Relaxation Lecture 12 Single Machine Models, Column Generation 2. Dantzig-Wolfe Decomposition Dantzig-Wolfe Decomposition Delayed Column

More information

Decision Procedures An Algorithmic Point of View

Decision Procedures An Algorithmic Point of View An Algorithmic Point of View ILP References: Integer Programming / Laurence Wolsey Deciding ILPs with Branch & Bound Intro. To mathematical programming / Hillier, Lieberman Daniel Kroening and Ofer Strichman

More information

Integer Programming Methods LNMB

Integer Programming Methods LNMB Integer Programming Methods LNMB 2017 2018 Dion Gijswijt homepage.tudelft.nl/64a8q/intpm/ Dion Gijswijt Intro IntPM 2017-2018 1 / 24 Organisation Webpage: homepage.tudelft.nl/64a8q/intpm/ Book: Integer

More information

Polynomial-time Reductions

Polynomial-time Reductions Polynomial-time Reductions Disclaimer: Many denitions in these slides should be taken as the intuitive meaning, as the precise meaning of some of the terms are hard to pin down without introducing the

More information

Linear Programming. Linear Programming I. Lecture 1. Linear Programming. Linear Programming

Linear Programming. Linear Programming I. Lecture 1. Linear Programming. Linear Programming Linear Programming Linear Programming Lecture Linear programming. Optimize a linear function subject to linear inequalities. (P) max " c j x j n j= n s. t. " a ij x j = b i # i # m j= x j 0 # j # n (P)

More information

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,

More information

Operations Research Lecture 6: Integer Programming

Operations Research Lecture 6: Integer Programming Operations Research Lecture 6: Integer Programming Notes taken by Kaiquan Xu@Business School, Nanjing University May 12th 2016 1 Integer programming (IP) formulations The integer programming (IP) is the

More information

Week 8. 1 LP is easy: the Ellipsoid Method

Week 8. 1 LP is easy: the Ellipsoid Method Week 8 1 LP is easy: the Ellipsoid Method In 1979 Khachyan proved that LP is solvable in polynomial time by a method of shrinking ellipsoids. The running time is polynomial in the number of variables n,

More information

A Framework for Integrating Exact and Heuristic Optimization Methods

A Framework for Integrating Exact and Heuristic Optimization Methods A Framework for Integrating Eact and Heuristic Optimization Methods John Hooker Carnegie Mellon University Matheuristics 2012 Eact and Heuristic Methods Generally regarded as very different. Eact methods

More information

Topics in Approximation Algorithms Solution for Homework 3

Topics in Approximation Algorithms Solution for Homework 3 Topics in Approximation Algorithms Solution for Homework 3 Problem 1 We show that any solution {U t } can be modified to satisfy U τ L τ as follows. Suppose U τ L τ, so there is a vertex v U τ but v L

More information

Decomposition-based Methods for Large-scale Discrete Optimization p.1

Decomposition-based Methods for Large-scale Discrete Optimization p.1 Decomposition-based Methods for Large-scale Discrete Optimization Matthew V Galati Ted K Ralphs Department of Industrial and Systems Engineering Lehigh University, Bethlehem, PA, USA Départment de Mathématiques

More information

Consistency as Projection

Consistency as Projection Consistency as Projection John Hooker Carnegie Mellon University INFORMS 2015, Philadelphia USA Consistency as Projection Reconceive consistency in constraint programming as a form of projection. For eample,

More information