Professional Documents
Culture Documents
IPandBIP
IPandBIP
Integer Programming
Goal Programming
Non-Linear Programming
+ Optimal LP Solution
3
(X1 = 3 3/4, X2 = 1 1/2
2 + + + Profit = $3,300)
1 + + + + 2X1 + 3X2 £ 12
X1
0
1 2 3 4 5 6
ADM2302 -- Rim Jaber 7
Comments on Reaching Integer
Solution
Rounding off is one way to reach integer
solution values, but it often does not yield
the best solution.
Problems of Rounding:
Not in the feasible region (infeasible solution)
It many not be the optimal feasible solution
Refer to “BIP.xlsx”
ADM2302 -- Rim Jaber 12
Types of Integer Programming
Problems
Pure Integer Programming
all variables must have integer solutions
Mixed Integer Programming
some, but not all variables have integer
solutions
Binary (0-1) Integer Programming
all variables have values of 0 or 1
Mixed binary integer programming
problems.
Some decision variables are binary, and other
decision variables are either general integer or
continuous valued.
ADM2302 -- Rim Jaber 13
Binary Integer Programming
Course
Professor UG MBA MS Ph.D.
A 2.8 2.2 3.3 3.0
B 3.2 3.0 3.6 3.6
C 3.3 3.2 3.5 3.5
D 3.2 2.8 2.5 -
ADM2302 -- Rim Jaber 18
Pure BIP Problem
Example 2: Excel’s Solver
Excel’s Solver Solution: “BIP.xlsx”
Managerial Statement:
Assign Professor A to the MS course,
Professor B to the Ph.D course,
Professor C to the MBA course, and
Professor D to the UG course
The maximum student evaluation
ratings over all four courses is 13.3
1 2 3 4
Y 4 <= Y1 + Y2
Contingency Constraints: it involves
binary variables that do not allow
certain variables to equal 1 unless
certain other variables are equal to 1
ADM2302 -- Rim Jaber 24
Either 5x1+3x2+6x3+4x4 <= 6,000
Or Either 4x1+6x2+3x3+5x4 <= 6,000
Either-or constraints are not allowed in Linear or
Integer Programming
A pair of constraints such that either one can be chosen to be
observed and then the other one would be ignored
Use binary variables to reformulate this model into a
standard format, in order to be able to find the optimal
solution.
Y= 0 if 5x1+3x2+6x3+4x4 <= 6,000 must hold
Or 1 if 4x1+6x2+3x3+5x4 <= 6,000 must hold
5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y
4x1+6x2+3x3+5x4 <= 6,000 + 1,000,000(1-Y)
ADM2302 -- Rim Jaber 25
Production Cost: Setup Costs
(=Start-up Costs) + Variable Costs
Objective function
Max Z = $70x1 + 60x2 + 90x3 +80x4 -
We need to subtract from this expression
each setup cost if the corresponding
product will be produced, but we should
not subtract the setup cost if the product
will not be produced.
x1 <= 1000Y1
x2 <= 3000 Y2
x3 <= 2000 Y3
x4 <= 1000 Y4
ADM2302 -- Rim Jaber 28
The Mixed BIP Problem 3 Summary
Max Z = $70x1 + $60x2 + $90x3 +$80x4 - $50,000Y1
- $40,000Y2 - $70,000Y3 - $60,000Y4
Subject to
Y1 + Y2 + Y3 + Y4 <= 2
Y3 <= Y1 + Y2
Y 4 <= Y1 + Y2
5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y
4x1+6x2+3x3+5x4 <= 6,000 + 1,000,00(1-Y)
x1 <= 1000Y1
x2 <= 3000Y2
x3 <= 2000Y3
x4 <= 1000Y4
x1, x2, x3, x4 >= 0 and integer; Y,Y1,Y2,Y3,Y4 = 0, 1
Mixed BIP Problem
Example 3: Solution using Excel's Solver