Professional Documents
Culture Documents
Programming
• When one or more variables in an LP problem
must assume an integer value, we have an
Integer Linear Programming (ILP) problem.
• Manufacturing airplanes
• LP Relaxation
MAX: 2X1 + 3X2
S.T.: X1 + 3X2 <= 8.25
2.5X1 + X2 <= 8.75
X1, X2 >= 0
Integer
Feasible vs.
LP Feasible
Region
Solving ILP When solving an LP relaxation,
Problems sometimes you “get lucky” and obtain
an integer feasible solution.
Binary Constraints
X1 + X3 + X6 <= 1
Of projects 1, 3 & 6,
exactly one must be
selected
Binary Variables &
Logical Conditions
X1 + X3 + X6 = 1
Project 4 cannot be selected
Binary Variables & unless project 5 is also selected
Logical Conditions
X4 – X5 <= 0
Set Covering Problem
The costs of opening seven nodes are as follows:
Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 7
125 85 70 60 90 100 110
The seven nodes can provide internet/cable coverage to the
following areas:
Node 1 Neighbourhoods: 1,3,4,6,9,10
Node 2 Neighbourhoods: 2,4,6,8
Node 3 Neighbourhoods: 1,2,5
Node 4 Neighbourhoods: 3,6,7,10
Node 5 Neighbourhoods: 2,3,7,9
Node 6 Neighbourhoods: 4,5,8,10
Node 7 Neighbourhoods: 1,5,7,8,9
SunOil- Plant Location