09.1 Integer Programming PDF
09.1 Integer Programming PDF
DEFINE
decision variables
objective
constraint types
WRITE
algebraic model
1 if project j is accepted
0 otherwise
Maximize
z = 10y1 + 17y2 + 16y3 + 8y4 + 14y5
Subject to
48y1 + 96y2 + 80y3 + 32y4 + 64y5 160
DEFINE
decision variables
objective
constraint types
WRITE
algebraic model
z = y1 + y2 + y3 + y4 + y5 + y6 + y7
y1
+ y6
+ y6
+ y6
y1
y1
y1
y1
y2
y2
y2
+ y4
+ y3
+ y3
y3
+ y4
+ y4
+ y5
+ y5
+ y5
+ y5
+ y6
+ y7
+ y7
+ y7
+ y7
1
1
1
1
1
1
1
1
1
Relationship:
at least m projects must be selected
y2 + y3 + y5 > 2
At least two out of three projects (Project 2, Project
Relationship:
at most n projects must be selected
y4 + y5 < 1
Project 4, or Project 5, or neither, but not both will
Relationship:
exactly k projects must be selected
y4 + y5 = 1
Exactly one of either Project 4 or Project 5 will be
Relationship:
some projects have contingency relationships
y3 y5 > 0
If Project 5 is selected, then project 3 must be as
well.
DEFINE
decision variables
objective
constraint types
WRITE
algebraic model
Linking Constraint
To achieve consistent linking of the two variables, we
x <= My
where M is an upper bound on the variable x.
(M is at least as large as any value we can feasibly choose for x)
Threshold Levels
x = 0 or A<= x <= M
Suppose we have a variable x that is subject to a