Mixed integer linear modeling

Size: px
Start display at page:

Download "Mixed integer linear modeling"

Transcription

1 Mied integer linear modeling Andrés Ramos Pedro Sánchez Sona Wogrin ESCUELA TÉCNICA SUPERIOR DE INGENIERÍA DEPARTAMENTO DE ORGANIZACIÓN INDUSTRIAL

2 CONTENTS PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) 2

3 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Problem Classification

4 IP Problem classification Linear problems where several or all the variables are integer. A particular case of integer variables are binary variables (0/).. PIP (pure integer programming) all integer 2. BIP (binary integer programming) all binary 3. MIP (mied integer programming) some integer o binary 4

5 Justification of optimization problem with integer variables Investments are discrete variables (generation or transmission epansion planning, singular equipment acquisition, people hiring) Decisions are binary variables (plant or store location) 5

6 Binary representation of discrete variables integer variable y i binary variable (0/) N = i 2 y 0 u i= 0 i 2 N u 2 N+ 6

7 2 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Several Characteristic Problems

8 Several LP and BIP characteristic problems They have been ehaustively studied. Limited importance in practice, but they may appear as part of other problems. Linear Programming LP Transportation Transshipment Assignment Binary Integer Programming BIP Knapsack Covering Packing Partitioning Traveling salesman 8

9 Transportation problem Minimize the total transportation cost of a certain product from origin to destination, satisfying the destination demand without eceeding the origin offer. a i product offer in origin i m origins b product demand in destination n destinations unitary transportation cost from i to c i a b a b 2 a m m n b n 9

10 Transportation problem formulation min i= = i m n c i i Offer available in each origin i Demand in each destination i 0 units of product transported from i to i, Hypothesis: offer equals demand of the product m n m i i= = If a > b add universal sink with zero cost i i= = m n n a = b If a < b add universal source with very high cost i i= = n = m i= = a i =,, m i i = b =,, n i 0

11 Transportation problem structure 2 n 2 22 m restricciones de oferta 2n m m2 mn n restricciones de demanda If a and b are integer i i are integer because the matri is totally unimodular (i.e., every square submatri has determinant 0, or )

12 Transshipment problem Determine in a network of n nodes the cheapest routes to carry product units from their origins to their destinations through intermediate transshipment locations. Each origin generates b i > 0 units. Each destination consumes b i < 0 units. Each transshipment neither generates nor consumes units b i = 0. c i transportation unit cost from i to in this direction. 2

13 Transshipment problem formulation min i= = i n n c i i Balance or flow conservation in each node i n n = b i =,, n i ki i = k= i, i 0 units of product transported from i to Hypothesis: offer equals demand n i= b i = 0 3

14 Transhipment Eample bi 0 0 Offer Nodes Transhipment Nodes Supply Nodes b i 4

15 Task assignment problem n tasks n persons (machines, etc.) to do them It is particular case of a transportation problem. Minimize the total cost of doing the tasks knowing that each person does task and each task is done by person. c i cost of doing task i by person i if task i is done by person = 0 otherwise Although it is not necessary to declare them as binary variables. 5

16 Task assignment problem formulation min i= = i n n c i Each task i is done by a person n = = i =,, n i Each person does one task n i= i = =,, n i i 0 i, 6

17 Task sequencing in one machine Given several tasks to do, their duration and an estimated problem due date, state the mied integer programming problem to find the sequence that minimizes the mean delay of the tasks, with the following data: Task A B C D Processing time Due date

18 Task sequencing in one machine d Let be the processing time of task and the due date of task. Define the problem variables as i if task is done in step i = 0 otherwise The obective function will minimize the mean delay min pi 4 Subect to these constraints: Each task is done once In each step only one task i i i i = = i r 8

19 Task sequencing in one machine For each step i a task is done and its due date is r On the other hand, task done in this step end at time n Variables iand pi, take into account if the task ends before due date (prompted) or after (delayed), therefore p i, is the delay, that appears in the obective function d + n p = r i k i i i k i n, p 0 0, i i i { } i d k i k 9

20 Knapsack problem n proects Maimize the total value of selecting a set of proects without eceeding the available budget. c cost of proect v value of proect b available budget if proect is done = 0 otherwise 20

21 Knapsack problem formulation ma n = v Limit on the available budget n = c b { 0,} 2

22 Set Covering Problem m characteristics (flights) n set of characteristics (sequences of flights). If a set is selected, then all characteristics of this set should be done. Minimize the total cost of the selected sets in such a way that all characteristics are covered at least once. c cost of selected set Membership matri a i if characteristic i belongs to set = 0 otherwise Decision variables if set is selected = 0 otherwise 22

23 Set Covering Formulation min n = c Each characteristic i should be selected at least once. n = a i =,, m i { } 0, =,, n 23

24 Set Covering Eample: Crew Assignment An airline company needs to assign crews to cover all its flights. Specifically, it requires to solve the set covering problem of three crews whose origin airport is San Francisco for all flights shown in the first column of the table. The rest of columns show 2 feasible flight sequences (sets) for any crew. It is necessary to choose three flight sequences (one for each crew) to cover all flights. It is possible to have more than one crew in the same flight (the etra crew is considered as passengers although the personnel is paid normally). The assignment cost of a crew to a flight sequence is given in thousands of Euros at the last row. The obective is to minimize the total assignment cost of the three crews to cover all flights. 24

25 Feasible Flight Sequences SF - LA SF - Denver SF - Seattle LA - Chicago LA - SF Chicago - Denver Chicago - Seattle Denver - SF Denver - Chicago Seattle - SF Seattle - LA Cost (M )

26 Crew Assignment Formulation min Flight Covering Three crews Assignment 2 = 3 { } = Solution 0, =, if the set is chosen = 0 otherwise 3 = 4 = = = 0 3, 4, cost = 8 M = 5 = 2 = = 0, 5, 2 cost = 8 M 26

27 Set Packing Problem m proects n proect sets. If a set is selected all proects of this set are done. Maimize the total benefit without doing one proect more than once. benefit of selecting the set c a i if the proect i is in the set = 0 otherwise if set is selected = 0 otherwise 27

28 Set Packing Formulation ma n = c Each proect i of all sets cannot be selected more than once n = a i =,, m i 0, =,, n { } 28

29 Set Partitioning Problem Eactly each characteristic (proect) of all sets should be chosen only once n = a = i =,, m i 29

30 Dot Graphs of Covering, Partitioning and Packing Problems COVERING PARTITIONING PACKING 30

31 Traveling Salesman Problem(TSP) Given a list of cities and the distances between each pair of cities, this problem consists of finding what is the shortest possible route that visits each city eactly once and returns to the origin city Formulation : i min i i i, U i i i i = = i { 0,} i i { } Card( U) U,..., n /2 Card( U) n 2 i c i if the path between and is included in the route = 0 otherwise 3

32 Traveling Salesman Problem(TSP) Formulation 2: ik if the path between i and is included in the route at stage k = 0 otherwise min ik, k i, k i, i,, k ik ik ik i = i = = k =, k { 0,} ik ik i r ik c rk + 32

33 3 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Fied Cost Problem

34 Fied Cost Problem Obective Cost Function: A binary variable y represents the binary decision on an activity realization Mathematical formulation: n { } 0 = 0 ( ) = k + c > 0 M should have the lowest possible value y n ( ) min f ( ) = k y + c = = 0 =,..., n y 0, =,..., n M y f > 0 = 0 = 0 f c k 34

35 Fied Cost Problem: Unit Commitment on Electric Systems Determine thermal generation units should be connected to the electric network each hour of the day (or week) in such a way that: Variable Generation Costs are minimized (including fuel costs and startup/shutdown costs). Demand is supplied each hour A specific level of spinning reserve is given Technical limits are fulfilled (minimum/maimum outputs, ramp up/down) 35

36 Unit Commitment Problem. Data and Variables DATA D h R a t b t ca t cp t P t P t rs t rb t demand during hour h [MW] spinning reserve ratio related with demand [p.u.] linear coefficient of fuel variable cost of unit t[ /MWh] fied coefficient of fuel variable cost of unit t[ /h] startup cost of unit t [ ] shutdown cost of unit t [ ] maimum output of unit t [MW] minimum output of unit t [MW] ramp up of unit t [MW/h] ramp down of unit t [MW/h] VARIABLES P ht A ht AR ht PR ht output of unit t during hour h [MW] commitment of unit t during hour h {0,} start up of unit t during hour h {0,} shut down of unit t during hour h {0,} 36

37 Unit Commitment Problem. Formulation min T H T h= t= t= T t= P ht ( a P + b A + ca AR + cp PR ) = t ht t ht t ht t ht D h ( PA P ) = RD t ht ht h P A P PA t ht ht t ht A A = AR PR ht h t ht ht P P rs ht h t t P P rb h t ht t P 0 A, AR, PR { 0,} ht H H ht ht ht 2HT ( H ) T ( H ) T ( H ) T 37

38 4 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Logical Propositions

39 Logical Propositions How to model the proposition: if the product A is produced then the product B should be produced too. The condition of the production of product is modelled as. Then this proposition is mathematically written as A B This proposition cannot be included directly (with arrows) into the linear problem. In this eample, one constraint B is included or not depending on the value of variable A (endogenous problem), modifying the structure of the problem. 39

40 Disunctive Propositions (i) A couple of constraints where only one (either of the two) should be met, while the other one is not neccesary. Then, it should meet one constraint but not neccesarily both. f ( ) 0 or g( ) 0 40

41 Eample of Disunctive Propositions (ii) One of these two constraints should be met or Adding M (high value constant) is equivalent to relaing the constraint (for positive variables with positive coefficients) Rela the constraint and fulfill the 2 Rela the constraint 2 and fulfill the M Using an auiliary binary variable one of both is fulfilled and the other one is relaed Mδ M( δ ) M 2 if constraint is relaed δ = 0 if constraint 2 is relaed 4

42 Fulfillment at least k of N constraints At leastk of N (k < N) constraints should be met f (,, ) d n f (,, ) d 2 n 2 f (,, ) d N n N Using k = and N = 2 is the disunctive case Formulation: f (,, ) d + Mδ n f (,, ) d + Mδ 2 n 2 2 f (,, ) d + Mδ N n N N N i= i { } δ 0, i =,..., N i δ = N k 42

43 Selecting one from N values The equation should fulfill one of the possible values Formulation: f (,, ) = d δ N i= δ = i { } n i i i= δ 0, i =,..., N i N f (,, ) n = d d 2 d N 43

44 Simple Propositions (i) Using the previous constraint of the fied cost Mδ M is an upper positive bound of and δ its associated binary variable. δ = M If the constraint is relaed and is met by default If δ = 0then 0 So this constraint allows to model the proposition δ = On the other hand, if > 0then δ =. If 0 the constraint does not imply anything > 0 δ = Both are equivalent propositions because P Q is equivalent to No Q No P δ = 0 0 Mδ > 0 δ =

45 Simple Propositions (ii) Analogously the constraint being m a negative lower bound of and δ the binary variable. δ = m If the constraint does not imply anything as is fulfilled by default. If δ = 0 then 0.. So, this constraint allows to model the proposition δ = 0 0 < 0 δ = 0 δ On the other hand, if then. If the constraint does not imply anything. < 0 = Both propositions are equivalent as P Q is equivalent to No Q No P mδ δ = 0 0 mδ < 0 δ = 45

46 Proposition of constraint (i) The proposition is modeled as a δ = b a b + M( δ) being M a upper bound of the constraint for any value of a b M If δ = the original constraint is formulated and if δ = 0the original constraint is relaed. Analogously to the previous case this constraint models the net proposition a > b δ = 0 46

47 Proposition of constraint (ii) The proposition can be replaced by or also by a b δ = δ = 0 a > b δ = 0 b + a ε Both are equivalent to a b + ε + ( m ε) δ Being m a lower bound of the constraint for any value of a b m 47

48 Proposition of constraint (i) Symmetrically propositions of upper or equal to can be modeled. δ = The proposition a b is equivalent to a b + m( δ ) being m a lower bound of the constraint for any value of. a b m If δ = the original constraint is formulated and if δ = 0 the original constraint is relaed. Analogously to the previous case this constraint models the net proposition a < b δ = 0 48

49 Proposition of constraint (ii) The proposition can be replaced by or also by Both are equivalent to a b δ = δ = 0 a < b δ = 0 a b ε a b ε + ( M + ε) δ Being M a upper bound of the constraint for any value of a b M 49

50 Proposition of = constraint (i) These equality constraints are replaced by constraints of upper than or equal to constraints and lower than and equal to constraints simultaneously. The proposition a b is equivalent to δ = = δ = a b δ = a b a b+ M( δ) The net two constraints model this a b m equality Effectively when δ =both constraints are fulfilled and when δ = 0 both constraints are relaed. + ( δ) 50

51 Proposition of = constraint (ii) The proposition is a combination of the previous cases and besides The resulting formulation: a = b δ = δ = y δ = δ = b δ = b δ = and additional constraint that models the fulfillment of previous constraints δ + δ δ a a a b + ε + ( m ε) δ a b ε + ( M + ε) δ 5

52 Double propositions δ = Double propositions are split into two simple propositions. δ = a b a b is equivalent to a b δ = and the same for other types of double propositions 52

53 Proposition Modeling Tables (i) δ = b a b+ M( δ) a a b δ = a b+ ε + ( m ε) δ δ = b a b+ m( δ) a a b δ = a b ε + ( M + ε) δ δ = = b a b+ M( δ) a a b+ m( δ) a = b δ = a b+ ε + ( m ε) δ a b ε + ( M + ε) δ δ + δ δ 53

54 Double Proposition Modeling Tables (ii) δ = b a b + M( δ ) a a a b + ε + ( m ε) δ δ = b a b + m( δ ) a a b ε + ( M + ε) δ δ = = b a b + M( δ ) a b + m( δ ) a b + ε + ( m ε) δ a b ε + ( M + ε) δ δ + δ δ 54

55 Equivalences between conditional and/or compounded propositions These equivalences are useful to transform implications before converting them into linear constraints P Q not P or Q P (Q and R) (P Q) and (P R) P (Q or R) (P Q) or (P R) (P and Q) R (P R) or (Q R) (P or Q) R (P R) and (Q R) not (P or Q) not (P and Q) not P and no Q not P or not Q 55

56 Proposition equivalence A proposition can be formulated using disunctive constraints f ( ) > 0 g( ) 0 This is equivalent to f ( ) 0 or g( ) 0 f() <= 0 g() <=0 F T T F F F T T T T F T f() > 0 g() <=0 T T T T F F F T T F F T 56

57 Simple Conditional and/or compounded Propositions X i constraint i, δ i binary variable that shows that constraint i is met The first row shows that constraint or 2 (or both) should be met. So, at least one of the two variables δ y δ 2 should be equal to. The linear equation is Besides there must be a constraint that says that if the constraint i is met then δ + δ2 i δ = > 0 δ = i i X o X 2 δ + δ 2 X y X 2 δ =, δ 2 = no X δ = 0 X X 2 δ - δ 2 0 X X 2 δ - δ 2 = 0 This proposition has been modeled for the fied cost problem and its modeling equation was δ = i 57

58 Comple Conditional and/or compounded Propositions Comple Propositions are split into a double proposition to obtain linear constraints directly For eample, ( X A o XB) ( XC o XD o XE) it is modeled as δ + δ δ + δ + δ A B C D E and is transformed into a double proposition δa + δb δ = δc + δd + δe which is equivalent to δ + δ δ = A Net, these equivalences are mathematically formulated B δ = δ + δ + δ C D E 58

59 Equivalence Formulation (Eample) If the product A is produced or the product B (or both) then at least one of the products C, D or E should be produced. X i constraint of production of product i δ i = binary variable to satisfy the constraint i ( X o X ) ( X o X o X ) A B C D E δ + δ δ = A B δ = δ + δ + δ C D E Formulation δ δ δ A B δ δ δ + δ 0 C D E δ + δ 2δ 0 A B δ δ δ + δ 0 C D E 59

60 Alternative Formulation (Eample) equivalent to Formulation: ( X o X ) ( X o X o X ) A B C D E δ δ + δ + δ A C D E δ δ + δ + δ B C D E [ ] [ X ( X o X o X ) y X ( X o X o X ) δ δ = δ + δ + δ A A C D E B C D E C D E δ δ = δ + δ + δ B X i A B C D E i δ δ δ + δ 0 i Mδ δ δ 0 δ δ 0 δ C D E { 0, }, δ { 0,} 60

61 Basket Team Problem A basket coach has 9 players that are ranked from to 3 based on their skills on ball handle, shot, rebound and defense Player Positions Handle Shot Rebound Defense Pivot Guard Pivot, Forward Forward, Guard Pivot, Forward Forward,Guard Pivot, Forward Pivot Forward

62 Basket Team (Logical Constraints) The team should be composed by 5 players that should have the maimum defense value satisfying the following conditions:. At least two players should be able to play as pivot, two as forward and one as guard. Each player only plays in one position. 2. Their average value of ball handle, shot and rebound should be upper or equal to If the player 3 is selected, then the player 6 cannot be selected. 4. If the player is selected, the player 4 or the player 5 should be selected but not both. If the player is not selected, players 4 and 5 may be selected. 5. The player 8 or 9, but not both, should be selected. Formulate a linear problem to optimize the basket team. 62

63 ma p 7a 7 Escuela Técnica Superior i, yi de { 0, Ingeniería } ICAI = y + y + y + 2 3p 5p 7 p 8 y + y + y + y + y + 2 3a 4a 5a 6a 7a 9 + y + y 2 4b 6b = = 0 is equivalent to 0 or y 3 y or alternatively + + = is equivalent to 0 ó ( + y + ) y + ( y ) or alternative ly + ( y ) + = 8 9 y + y = 0 3p 3a 3 y + y = 0 4a 4b 4 y + y = 0 5p 5a 5 y + y = 0 6a 6b 6 + = Two optimal solutions = 2 = 3 = 5 = 8 = = 4 = 6 = 7 = 9 = and the rest of players = 0 Notation equivalence: p:pivot a: Forward (alero) b: Point Guard (base) 63

64 Product of Binary Variables δ δ 2 = 0 δ 0, i δ δ 2 δ i δ δ { } { 0,} 0 { 0,} δ = 0 o δ 2 = 0 Reemplazar δ δ 2 por δ 3 δ 3 = δ = y δ 2 = Reemplazar δ por y δ = 0 y = 0 δ = y = δ + δ 2 δ + δ = δ + δ = 2 2 { } δ, δ 0, i i δ δ 3 δ δ 3 2 δ + δ + δ 2 3 δi y 0 { 0,} y Mδ + y 0 y + Mδ M M 64

65 5 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Minimum, Maimum and Absolute Value

66 Minimum or maimum of variables minz z= ma(, y) minz z z y maz z= min(, y) maz z z y 66

67 Modeling the absolute value z z + min min( + ) st.. st.. X = + X +, 0 67

68 6 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Piecewise Linear (Master)

69 Piecewise linear function This function can appear when linearizing a nonlinear function Needed when it is a concave/conve function in a minimization/maimization problem 69

70 Modeling a piecewise linear function Piecewise linear function defined as a set of segments s Point is over the piecewise function g( ) (equality constraint) It is assumed that the abscise of the first segment is the origin b 0 =0 g( ) f s c s b s- b s 70

71 Three possible approaches Approaches. Incremental 2. Multiple selection 3. Conve combination LP relaations of the three approaches are equivalent Any feasible solution of a relaation corresponds to a feasible solution of the other ones with the same cost 7

72 Incremental modeling s Define z as the load or usage of each segment s Total load or value will be =z s Segment s+ has load 0 unless the previous one is full. s If and only if z + s s s > 0 then z = b b Introduce binary variables y s s if z > 0 = 0 otherwise Problem formulation ( ) ( ) ˆ s s s s s s s being f = f + c b f + c b difference in cost in the intersection point of segments s- and s s s ( ˆ s s ) g( ) = c z + f y = s s s + ( ) ( ) y s z b b y z b b y s s s s s s s { } y = S+ 0,, 0 72

73 Multiple selection modeling s Define z as the total load if is in this segment s Total load or value will be =z s s If total load is in a segment, for this segment z = and s for the other ones z = 0 Introduce binary variables y s s if z > 0 = 0 otherwise Problem formulation s s s s ( ) g( ) = c z + f y = s s s s s s s s s s s z b y z b y y y { 0,} 73

74 Conve combination modeling Any point of the segment is a conve combination of s s their etremes with weights µ, λ Problem formulation s s s s ( µ λ ) ( ) ( ) g( ) = µ c b + f + λ c b + f s s s = b + b µ + λ = s s s y s y { } s s s µ, λ 0, y 0, s s s s s s s s 74

75 7 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Conve and Non-Conve Regions (Master)

76 Maimizing an obective function. Concave region Optimization problem with a concave feasible region z * z z b2 + a2 z b + a z b3 + a3 LP Formulation ma z z b + a z b + a 2 2 z b + a 3 3, z 0 * 76

77 Maimizing an obective function. Nonconcave region (i) Optimization problem with a nonconcave feasible region z * z z b2 + a2 z b3 + a3 z b4 + a4 z b + a * 77

78 Maimizing an obective function. Nonconcave region (ii) LP Formulation ma z z b + a z b + a 2 2 z b + a 3 3 z b + a 4 4, z 0 z z b2 + a2 z b3 + a3 z b + a * 4 4 z z b + a * 78

79 Maimizing an obective function. Nonconcave region (iii) Divide nonconcave feasible region in concave feasible sub-regions and use a binary variable (multiple selection) to choose the feasible sub-region y s if we are in sub-region s = 0 otherwise z z b2 + a2 z b3 + a3 z b + a z b4 + a4 s s + s b s s b b + y s = y s+ = 79

80 Maimizing an obective function. Nonconcave region (iv) If we are in s If we are in s+ ma z z b y + a + b y + a s s s+ s+ 3 3 z b y + a + b y + a = s s s+ s s s s s s s s b y b y s s y s { } s s, z, 0, y 0, s s =, = 0 + y y + ma z z b a s+ 2 2 s = 0 s s s s, z, 0 s z b + a = b b s Sub-region s s s y = 0, y + = 80 ma z z b + a s 3 3 z b + a = Sub-region s+ For every sub-region 4 4 s+ = 0 s+ b b s+ s s+ s+ s+,, 0 z

81 8 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Special Ordered Sets (Master)

82 SOS and SOS2 SOS: set of variables in which a single variable must be different from 0 SOS2: set of variables in which at most two variables must be different from 0 and must be consecutive Eample: maintenance scheduling of thermal units 82

83 Maintenance scheduling (i) Assumption: Scheduled maintenance of each unit lasts for an integer number of periods. p p p + p + 2 Maintenance scheduling involves inter-period variables and constraints: Decisions taken in period p affect adacent periods. 83

84 Maintenance scheduling (ii) Relevant information to decide the scheduled maintenance: M t Maintenance duration for each thermal unit t: (epressed in number of periods). Must be consecutive 84

85 Maintenance scheduling (iii) Inter-period variables: Unit unavailable due to maintenance: u pt unit t unav ailabl e due to maintenance in period = 0 otherwis e Startup (beginning) and shutdown (end) of the maintenance period: p su sd pt pt maintenance of unit t begins in p = 0 otherwise maintenance of unit t ends in p = 0 other wise 85

86 Maintenance scheduling (iv) Contiguity of maintenance periods: Formulation I: uqt Mtsupt p, t p q< p+ Mt upt up t supt p, t supt t p Eample: maintenance begins in p = 3 and lasts M t = 4 periods: su3 t = = = = = = uqt u3 t u4t u5 t u6t u3 t u4t u5 t u6 t 3 q 6 u su + u =0+0=0 u = 0 2t 2t t 2t u su + u =+0= u 3t 3t 2t 3t 86

87 Maintenance scheduling (v) Contiguity of maintenance periods: Formulation II: supt = sd p+ M t p, t upt up t = supt sd pt p, t ( su ) pt + sd pt 2 t p Eample: maintenance begins in p = 3 and lasts M t = 4 periods su3 t = su sd = 0 sd = 0 sd = 3t 7t 7t 7t u u2t u3 t + su3 t sd3 t = 0 u2t u3 t + 0 = 0 u 2t 3t = 0 = 87

88 Minimum uptime and downtime constraints unit t comitte d in period p upt = 0 otherwise stratup of unit t begins in p supt = 0 otherwise shutdown of unit t begins in p sd pt = 0 otherwise p UT + q p p DT + q p t t su u p, t qt pt su u DT p, t qt pt t 88

89 9 PROBLEM CLASSIFICATION SEVERAL CHARACTERISTIC PROBLEMS FIXED COST PROBLEM LOGICAL PROPOSITIONS MINIMUM, MAXIMUM AND ABSOLUTE VALUE PIECEWISE LINEAR (master) CONVEX AND NONCONVEX REGION (master) SPECIAL ORDERED SETS (master) REFORMULATION (master) Reformulation (Master)

90 Reformulation Most MIP problems can be formulated in different ways In MIP problems, a good formulation is crucial to solve the model Good MIP formulation measure Integrality gap difference between the obective function of the MIP and LP-relaation solutions Given two equivalent MIP formulations, one is stronger (better) than the other, if the feasible region of the linear relaation is strictly contained in the feasible region of the other one. Integrality gap is lower. 90

91 Warehouse location problem (no limits) (i) Choose where to locate warehouses among a set of locations and assign clients to the warehouses minimizing the total cost. No limits means that there are no limit in the number of clients assigned to a warehouse. Data Variables i c warehouse located in y = 0 other wise fraction of demand of client i met from i locations clients localization cost in h cost of satisfying the demand of client i from i 9

92 Warehouse location problem (no limits) (ii) Formulation I minc y + h i i = i y i y i i i { 0, }, [ 0,] Number of constraints: I+IJ i Formulation II minc y + h i y i i i i i = i My { 0, }, [ 0,] Number of constraints: I+J i Both formulations are MIP equivalent. However, formulation I is stronger Intuitively as many constraints the worse. That s true in LP. However, in many MIP problems the more constraints the better. 92

93 Production problem with fied and inventory costs (i) Data Variables t time period c fied cost, p variable cost, h inventory cost d t t t t t y t s t demand to produce = 0 not produce amount produced inventory at the end of the period Formulation I min ( c y + p + h s ) t t t t t 0 t t = s = 0 T t t t t t t s + = d + s t My t s { }, s 0, y 0, t t t Number of constraints: 2T Number of variables: 3T 93

94 Production problem with fied and inventory costs (ii) Variables to produce yt = 0 not produce q quantity produced in period i to met the demand in period t i it Formulation II min t i= T t T ( ) i i i+ t it t t t= i= t= it it t i it q = d t q d y it q t { } 0, y 0, t p + h + h + + h q + c y Number of constraints: T+T 2 /2 Number of variables: T+T 2 /2 Formulation II is better. However, it has greater number of constraints and variables. 94

95 Reformulation criteria It can be interesting increase the number of variables if they can be used in the branching strategy of B&B. For eample, artificial division of a zone in regions N, S, E and W to branch first in these zonal regions. Alternatively, introduce lazy constraints Avoid the use of big M parameters or put tight (lowest upper bound) values for the big M Alternative formulation for the Fied Cost problem using SOS variable (at most one of the variables can be 0) GAMS/CPLEX supports the use of an indicator variable + 0 0, + +=,, 0, 95

96 Some tips for MIP It can be interesting increase the number of variables if they can be used in the branching strategy of B&B. For eample, artificial division of a zone in regions N, S, E and W to branch first in these zonal regions. Alternatively, introduce lazy constraints (only in GAMS/GUROBI) Avoid the use of big M parameters or put tight (lowest upper bound) values for the big M GAMS/CPLEX/GUROBI supports the use of an indicator constraint + 0 0, , Write in the file cple.opt indic constraint$y 0 96

97 Tight and compact unit commitment G. Gentile, G. Morales-España and A. Ramos A Tight MIP Formulation of the Unit Commitment Problem with Start-up and Shut-down Constraints EURO Journal on Computational Optimization 5 (), March /s y G. Morales-España, C.M. Correa-Posada, A. Ramos Tight and Compact MIP Formulation of Configuration-Based Combined-Cycle Units IEEE Transactions on Power Systems 3 (2), , March /TPWRS G. Morales-España, J.M. Latorre, and A. Ramos Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem IEEE Transactions on Power Systems 28 (4): , Nov /TPWRS G. Morales-España, J.M. Latorre, and A. Ramos Tight and Compact MILP Formulation of Start-Up and Shut-Down Ramping in Unit Commitment IEEE Transactions on Power Systems 28 (2): , May /TPWRS

98 Andrés Ramos Pedro Sánchez Sona Wogrin Alberto Aguilera, Madrid, Spain Tel Fa info-doi@doi.icai.upcomillas.es

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

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

Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem

Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem Online Companion for Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem Germán Morales-España, Jesus M. Latorre, and Andres Ramos Universidad Pontificia Comillas, Spain Institute

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

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

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

IS703: Decision Support and Optimization. Week 5: Mathematical Programming. Lau Hoong Chuin School of Information Systems IS703: Decision Support and Optimization Week 5: Mathematical Programming Lau Hoong Chuin School of Information Systems 1 Mathematical Programming - Scope Linear Programming Integer Programming Network

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

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

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

Accelerating the Convergence of MIP-based Unit Commitment Problems

Accelerating the Convergence of MIP-based Unit Commitment Problems Accelerating the Convergence of MIP-based Unit Commitment Problems The Impact of High Quality MIP Formulations ermán Morales-España, Delft University of Technology, Delft, The Netherlands Optimization

More information

Accelerating the Convergence of Stochastic Unit Commitment Problems by Using Tight and Compact MIP Formulations

Accelerating the Convergence of Stochastic Unit Commitment Problems by Using Tight and Compact MIP Formulations Accelerating the Convergence of Stochastic Unit Commitment Problems by Using Tight and Compact MIP Formulations Germán Morales-España, and Andrés Ramos Delft University of Technology, Delft, The Netherlands

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

Tight MIP Formulations of the Power-Based Unit Commitment Problem

Tight MIP Formulations of the Power-Based Unit Commitment Problem Optimization Letters manuscript No (will be inserted by the editor Tight MIP Formulations of the Power-Based Unit Commitment Problem Modelling Slow- and Quick-Start Generating Units Germán Morales-España

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

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

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

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

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

CHAPTER 3: INTEGER PROGRAMMING

CHAPTER 3: INTEGER PROGRAMMING CHAPTER 3: INTEGER PROGRAMMING Overview To this point, we have considered optimization problems with continuous design variables. That is, the design variables can take any value within a continuous feasible

More information

Workforce Scheduling. Outline DM87 SCHEDULING, TIMETABLING AND ROUTING. Outline. Workforce Scheduling. 1. Workforce Scheduling.

Workforce Scheduling. Outline DM87 SCHEDULING, TIMETABLING AND ROUTING. Outline. Workforce Scheduling. 1. Workforce Scheduling. Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 17 Workforce Scheduling 2. Crew Scheduling and Roering Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Workforce Scheduling

More information

16.410/413 Principles of Autonomy and Decision Making

16.410/413 Principles of Autonomy and Decision Making 6.4/43 Principles of Autonomy and Decision Making Lecture 8: (Mixed-Integer) Linear Programming for Vehicle Routing and Motion Planning Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute

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

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

Operations Research: Introduction. Concept of a Model

Operations Research: Introduction. Concept of a Model Origin and Development Features Operations Research: Introduction Term or coined in 1940 by Meclosky & Trefthan in U.K. came into existence during World War II for military projects for solving strategic

More information

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 1: Introduction to optimization Xiaoqun Zhang Shanghai Jiao Tong University Last updated: September 23, 2017 1.1 Introduction 1. Optimization is an important tool in daily life, business and

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

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

TRANSPORTATION PROBLEMS

TRANSPORTATION PROBLEMS Chapter 6 TRANSPORTATION PROBLEMS 61 Transportation Model Transportation models deal with the determination of a minimum-cost plan for transporting a commodity from a number of sources to a number of destinations

More information

Sensitivity Analysis of a Mixed Integer Linear Programming Model For Optimal Hydrothermal Energy Generation For Ghana

Sensitivity Analysis of a Mixed Integer Linear Programming Model For Optimal Hydrothermal Energy Generation For Ghana Sensitivity Analysis of a Mixed Integer Linear Programming Model For Optimal Hydrothermal Energy Generation For Ghana Christian John Etwire, Stephen B. Twum Abstract: This paper examines further a Mixed

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

Disconnecting Networks via Node Deletions

Disconnecting Networks via Node Deletions 1 / 27 Disconnecting Networks via Node Deletions Exact Interdiction Models and Algorithms Siqian Shen 1 J. Cole Smith 2 R. Goli 2 1 IOE, University of Michigan 2 ISE, University of Florida 2012 INFORMS

More information

Review Questions, Final Exam

Review Questions, Final Exam Review Questions, Final Exam A few general questions. What does the Representation Theorem say (in linear programming)? In words, the representation theorem says that any feasible point can be written

More information

Improvements to Benders' decomposition: systematic classification and performance comparison in a Transmission Expansion Planning problem

Improvements to Benders' decomposition: systematic classification and performance comparison in a Transmission Expansion Planning problem Improvements to Benders' decomposition: systematic classification and performance comparison in a Transmission Expansion Planning problem Sara Lumbreras & Andrés Ramos July 2013 Agenda Motivation improvement

More information

Introduction to Bin Packing Problems

Introduction to Bin Packing Problems Introduction to Bin Packing Problems Fabio Furini March 13, 2015 Outline Origins and applications Applications: Definition: Bin Packing Problem (BPP) Solution techniques for the BPP Heuristic Algorithms

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

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA Gestion de la production Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA 1 Contents 1 Integer Linear Programming 3 1.1 Definitions and notations......................................

More information

Introduction into Vehicle Routing Problems and other basic mixed-integer problems

Introduction into Vehicle Routing Problems and other basic mixed-integer problems Introduction into Vehicle Routing Problems and other basic mixed-integer problems Martin Branda Charles University in Prague Faculty of Mathematics and Physics Department of Probability and Mathematical

More information

Programmers A B C D Solution:

Programmers A B C D Solution: P a g e Q: A firm has normally distributed forecast of usage with MAD=0 units. It desires a service level, which limits the stock, out to one order cycle per year. Determine Standard Deviation (SD), if

More information

TRANSPORTATION & NETWORK PROBLEMS

TRANSPORTATION & NETWORK PROBLEMS TRANSPORTATION & NETWORK PROBLEMS Transportation Problems Problem: moving output from multiple sources to multiple destinations. The objective is to minimise costs (maximise profits). Network Representation

More information

21. Set cover and TSP

21. Set cover and TSP CS/ECE/ISyE 524 Introduction to Optimization Spring 2017 18 21. Set cover and TSP ˆ Set covering ˆ Cutting problems and column generation ˆ Traveling salesman problem Laurent Lessard (www.laurentlessard.com)

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

RO: Exercices Mixed Integer Programming

RO: Exercices Mixed Integer Programming RO: Exercices Mixed Integer Programming N. Brauner Université Grenoble Alpes Exercice 1 : Knapsack A hiker wants to fill up his knapsack of capacity W = 6 maximizing the utility of the objects he takes.

More information

A Scheme for Integrated Optimization

A Scheme for Integrated Optimization A Scheme for Integrated Optimization John Hooker ZIB November 2009 Slide 1 Outline Overview of integrated methods A taste of the underlying theory Eamples, with results from SIMPL Proposal for SCIP/SIMPL

More information

GETTING STARTED INITIALIZATION

GETTING STARTED INITIALIZATION GETTING STARTED INITIALIZATION 1. Introduction Linear programs come in many different forms. Traditionally, one develops the theory for a few special formats. These formats are equivalent to one another

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

2. Linear Programming Problem

2. Linear Programming Problem . Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6

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

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

Indicator Constraints in Mixed-Integer Programming

Indicator Constraints in Mixed-Integer Programming Indicator Constraints in Mixed-Integer Programming Andrea Lodi University of Bologna, Italy - andrea.lodi@unibo.it Amaya Nogales-Gómez, Universidad de Sevilla, Spain Pietro Belotti, FICO, UK Matteo Fischetti,

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

Integer Linear Programming

Integer Linear Programming Integer Linear Programming Solution : cutting planes and Branch and Bound Hugues Talbot Laboratoire CVN April 13, 2018 IP Resolution Gomory s cutting planes Solution branch-and-bound General method Resolution

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

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming Integer Programming, Goal Programming, and Nonlinear Programming CHAPTER 11 253 CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming TRUE/FALSE 11.1 If conditions require that all

More information

Vehicle Routing and MIP

Vehicle Routing and MIP CORE, Université Catholique de Louvain 5th Porto Meeting on Mathematics for Industry, 11th April 2014 Contents: The Capacitated Vehicle Routing Problem Subproblems: Trees and the TSP CVRP Cutting Planes

More information

Final. Formulate the optimization problem of assigning the crews. You are not to solve this problem.

Final. Formulate the optimization problem of assigning the crews. You are not to solve this problem. CE152: Civil and Environmental Engineering Systems Analysis Final Prof. Madanat and Sengupta Fall 04 Problem 1 (5 points) CalAirways has a San Francisco hub. It has three crews based in San Francisco.

More information

Projection, Consistency, and George Boole

Projection, Consistency, and George Boole Projection, Consistency, and George Boole John Hooker Carnegie Mellon University CP 2015, Cork, Ireland Projection as a Unifying Concept Projection underlies both optimization and logical inference. Optimization

More information

Applications of Linear Programming - Minimization

Applications of Linear Programming - Minimization Applications of Linear Programming - Minimization Drs. Antonio A. Trani and H. Baik Professor of Civil Engineering Virginia Tech Analysis of Air Transportation Systems June 9-12, 2010 1 of 49 Recall the

More information

A Novel Matching Formulation for Startup Costs in Unit Commitment

A Novel Matching Formulation for Startup Costs in Unit Commitment A Novel Matching Formulation for Startup Costs in Unit Commitment Ben Knueven and Jim Ostrowski Department of Industrial and Systems Engineering University of Tennessee, Knoxville, TN 37996 bknueven@vols.utk.edu

More information

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n 2 4. Duality of LPs and the duality theorem... 22 4.2 Complementary slackness... 23 4.3 The shortest path problem and its dual... 24 4.4 Farkas' Lemma... 25 4.5 Dual information in the tableau... 26 4.6

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

Discrete lot sizing and scheduling on parallel machines: description of a column generation approach

Discrete lot sizing and scheduling on parallel machines: description of a column generation approach 126 IO 2013 XVI Congresso da Associação Portuguesa de Investigação Operacional Discrete lot sizing and scheduling on parallel machines: description of a column generation approach António J.S.T. Duarte,

More information

Linear & Integer programming

Linear & Integer programming ELL 894 Performance Evaluation on Communication Networks Standard form I Lecture 5 Linear & Integer programming subject to where b is a vector of length m c T A = b (decision variables) and c are vectors

More information

Inventory optimization of distribution networks with discrete-event processes by vendor-managed policies

Inventory optimization of distribution networks with discrete-event processes by vendor-managed policies Inventory optimization of distribution networks with discrete-event processes by vendor-managed policies Simona Sacone and Silvia Siri Department of Communications, Computer and Systems Science University

More information

Optimization Methods: Optimization using Calculus - Equality constraints 1. Module 2 Lecture Notes 4

Optimization Methods: Optimization using Calculus - Equality constraints 1. Module 2 Lecture Notes 4 Optimization Methods: Optimization using Calculus - Equality constraints Module Lecture Notes 4 Optimization of Functions of Multiple Variables subect to Equality Constraints Introduction In the previous

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

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

Operations Scheduling for the LSST

Operations Scheduling for the LSST Operations Scheduling for the LSST Robert J. Vanderbei 2015 March 18 http://www.princeton.edu/ rvdb LSST Scheduler Workshop Tucson AZ Simple Optimization Problem Unconstrained max x R n f(x) The function

More information

Extended Formulations, Lagrangian Relaxation, & Column Generation: tackling large scale applications

Extended Formulations, Lagrangian Relaxation, & Column Generation: tackling large scale applications Extended Formulations, Lagrangian Relaxation, & Column Generation: tackling large scale applications François Vanderbeck University of Bordeaux INRIA Bordeaux-Sud-Ouest part : Defining Extended Formulations

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

A Hub Location Problem with Fully Interconnected Backbone and Access Networks

A Hub Location Problem with Fully Interconnected Backbone and Access Networks A Hub Location Problem with Fully Interconnected Backbone and Access Networks Tommy Thomadsen Informatics and Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby Denmark tt@imm.dtu.dk

More information

19. Logic constraints, integer variables

19. Logic constraints, integer variables CS/ECE/ISyE 524 Introduction to Optimization Spring 2016 17 19. Logic constraints, integer variables If-then constraints Generalized assignment problems Logic constraints Modeling a restricted set of values

More information

Mathematics for Management Science Notes 05 prepared by Professor Jenny Baglivo

Mathematics for Management Science Notes 05 prepared by Professor Jenny Baglivo Mathematics for Management Science Notes 05 prepared by Professor Jenny Baglivo Jenny A. Baglivo 2002. All rights reserved. Transportation and assignment problems Transportation/assignment problems arise

More information

LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES

LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES LINEAR PROGRAMMING APPROACH FOR THE TRANSITION FROM MARKET-GENERATED HOURLY ENERGY PROGRAMS TO FEASIBLE POWER GENERATION SCHEDULES A. Borghetti, A. Lodi 2, S. Martello 2, M. Martignani 2, C.A. Nucci, A.

More information

Lecture : Lovász Theta Body. Introduction to hierarchies.

Lecture : Lovász Theta Body. Introduction to hierarchies. Strong Relaations for Discrete Optimization Problems 20-27/05/6 Lecture : Lovász Theta Body. Introduction to hierarchies. Lecturer: Yuri Faenza Scribes: Yuri Faenza Recall: stable sets and perfect graphs

More information

Lecture 8 Network Optimization Algorithms

Lecture 8 Network Optimization Algorithms Advanced Algorithms Floriano Zini Free University of Bozen-Bolzano Faculty of Computer Science Academic Year 2013-2014 Lecture 8 Network Optimization Algorithms 1 21/01/14 Introduction Network models have

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

Application 1 - People Allocation in Line Balancing

Application 1 - People Allocation in Line Balancing Chapter 9 Workforce Planning Introduction to Lecture This chapter presents some applications of Operations Research models in workforce planning. Work force planning would be more of a generic application

More information

Projection, Inference, and Consistency

Projection, Inference, and Consistency Projection, Inference, and Consistency John Hooker Carnegie Mellon University IJCAI 2016, New York City A high-level presentation. Don t worry about the details. 2 Projection as a Unifying Concept Projection

More information

Chiang/Wainwright: Fundamental Methods of Mathematical Economics

Chiang/Wainwright: Fundamental Methods of Mathematical Economics Chiang/Wainwright: Fundamental Methods of Mathematical Economics CHAPTER 9 EXERCISE 9.. Find the stationary values of the following (check whether they are relative maima or minima or inflection points),

More information

Integer Programming Chapter 15

Integer Programming Chapter 15 Integer Programming Chapter 15 University of Chicago Booth School of Business Kipp Martin November 9, 2016 1 / 101 Outline Key Concepts Problem Formulation Quality Solver Options Epsilon Optimality Preprocessing

More information

Discrete Optimization 23

Discrete Optimization 23 Discrete Optimization 23 2 Total Unimodularity (TU) and Its Applications In this section we will discuss the total unimodularity theory and its applications to flows in networks. 2.1 Total Unimodularity:

More information

Practical Tips for Modelling Lot-Sizing and Scheduling Problems. Waldemar Kaczmarczyk

Practical Tips for Modelling Lot-Sizing and Scheduling Problems. Waldemar Kaczmarczyk Decision Making in Manufacturing and Services Vol. 3 2009 No. 1 2 pp. 37 48 Practical Tips for Modelling Lot-Sizing and Scheduling Problems Waldemar Kaczmarczyk Abstract. This paper presents some important

More information

Worldwide Passenger Flows Estimation

Worldwide Passenger Flows Estimation Worldwide Passenger Flows Estimation Rodrigo Acuna-Agost 1,EzequielGeremia 1,ThiagoGouveia 2, Serigne Gueye 2,MicheliKnechtel 2,andPhilippeMichelon 2 1 Amadeus IT 2 Université d Avignon et des Pays de

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

CHAPTER 1-2: SHADOW PRICES

CHAPTER 1-2: SHADOW PRICES Essential Microeconomics -- CHAPTER -: SHADOW PRICES An intuitive approach: profit maimizing firm with a fied supply of an input Shadow prices 5 Concave maimization problem 7 Constraint qualifications

More information

Integer program reformulation for robust branch-and-cut-and-price

Integer program reformulation for robust branch-and-cut-and-price Integer program reformulation for robust branch-and-cut-and-price Marcus Poggi de Aragão Informática PUC-Rio Eduardo Uchoa Engenharia de Produção Universidade Federal Fluminense Outline of the talk Robust

More information

Totally unimodular matrices. Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems

Totally unimodular matrices. Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Totally unimodular matrices Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Martin Branda Charles University in Prague Faculty of Mathematics and

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

1 Convexity, Convex Relaxations, and Global Optimization

1 Convexity, Convex Relaxations, and Global Optimization 1 Conveity, Conve Relaations, and Global Optimization Algorithms 1 1.1 Minima Consider the nonlinear optimization problem in a Euclidean space: where the feasible region. min f(), R n Definition (global

More information

A Polyhedral Study of Production Ramping

A Polyhedral Study of Production Ramping A Polyhedral Study of Production Ramping Pelin Damcı-Kurt, Simge Küçükyavuz Department of Integrated Systems Engineering The Ohio State University, Columbus, OH 43210 damci-kurt.1@osu.edu, kucukyavuz.2@osu.edu

More information

Mixed Integer Programming (MIP) for Causal Inference and Beyond

Mixed Integer Programming (MIP) for Causal Inference and Beyond Mixed Integer Programming (MIP) for Causal Inference and Beyond Juan Pablo Vielma Massachusetts Institute of Technology Columbia Business School New York, NY, October, 2016. Traveling Salesman Problem

More information

Duality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information

More information

2.4 The Product and Quotient Rules

2.4 The Product and Quotient Rules Hartfield MATH 040 Unit Page 1.4 The Product and Quotient Rules For functions which are the result of multiplying or dividing epressions, special rules apply which involve multiple steps. E. 1: Find the

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

Partial Path Column Generation for the Vehicle Routing Problem with Time Windows

Partial Path Column Generation for the Vehicle Routing Problem with Time Windows Partial Path Column Generation for the Vehicle Routing Problem with Time Windows Bjørn Petersen & Mads Kehlet Jepsen } DIKU Department of Computer Science, University of Copenhagen Universitetsparken 1,

More information

Computational complexity theory

Computational complexity theory Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,

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

Introduction to integer programming III:

Introduction to integer programming III: Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Martin Branda Charles University in Prague Faculty of Mathematics and Physics Department of Probability

More information

Connectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization

Connectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization Connectedness of Efficient Solutions in Multiple Objective Combinatorial Optimization Jochen Gorski Kathrin Klamroth Stefan Ruzika Communicated by H. Benson Abstract Connectedness of efficient solutions

More information

Lift-and-Project cuts: an efficient solution method for mixed-integer programs

Lift-and-Project cuts: an efficient solution method for mixed-integer programs Lift-and-Project cuts: an efficient solution method for mied-integer programs Sebastian Ceria Graduate School of Business and Computational Optimization Research Center http://www.columbia.edu/~sc44 Columbia

More information