Integer Programing
Integer Programing
Introduction
Integer programming is the extension of LP that solves problems requiring integer solutions. Solution values must be whole numbers in integer programming . There are three types of integer programs: pure integer programming; mixed-integer programming; 01 integer programming.
Integer Programming
(continued)
1. The Pure Integer Programming problems are cases in which all variables are required to have integer values. 2. The Mixed-Integer Programming problems are cases in which some, but not all, of the decision variables are required to have integer values. 3. The ZeroOne Integer Programming problems are special cases in which all the decision variables must have integer solution values of 0 or 1.
6X1 + 5X2 30 + = Possible Integer Solution Optimal LP Solution (X1 = 33/4, X2 = 11/2, Profit = $35.25 2X1 + 3X2 12
Optimal solution
4. Create nodes at the top of these new branches by solving the new problems.
b)
c)
Minimization problems involve reversing the roles of the upper and lower bounds.
11-17
Sub-problems C and D
Subproblem As branching Subproblems C and D. yields
Subproblem C maximize profit = $7X1 + $6X2 Subject to: 2X1 + 3X2 12 6X1 + 5X2 30 X1 4 X2 2 Subproblem D maximize profit = $7X1 + $6X2 Subject to: 2X1 + 3X2 12 6X1 + 5X2 30 X1 4 X2 1
Sub-problems C and D
(continued)
Subproblem C has no feasible solution at all because the first two constraints are violated if the X1 4 and X2 2 constraints are observed. Terminate this branch and do not consider its solution. Subproblem Ds optimal solution is X1 = 4 , X2 = 1, profit = $35.16. This non-integer solution yields a new upper bound of $35.16, replacing the original $35.20. Subproblems C and D, as well as the final branches for the problem, are shown in the figure on the next slide.
Subproblems E and F
Finally, create subproblems E and F and solve for X1 and X2 with the added constraints X1 4 and X1 5. The subproblems and their solutions are:
Subproblem E maximize profit = $7X1 + $6X2 Subject to: 2X1 + 3X2 12 6X1 + 5X2 30 X1 4 X1 4 X2 1 Optimal solution for E: X1 = 4, X2 = 1, profit = $34
Subproblems E and F
(continued)
Subproblem F maximize profit = $7X1 + $6X2 Subject to: 2X1 + 3X2 12 6X1 + 5X2 30 X1 4 X1 5 X2 1 Optimal solution for F: X1 = 5, X2 = 0, profit = $35