Mixed-integer cuts: Difference between revisions
No edit summary |
No edit summary |
||
| Line 78: | Line 78: | ||
Change numbers | Change numbers | ||
<math>\max Z = 11 x_1 + 6 x_2 + 6x_3 + 5x_4 + 5x_5 + 4x_6 + x_7 \leq 19</math> | |||
Some minimal cover inequalities of Z are: | Some minimal cover inequalities of Z are: | ||
<math>x_1+x_2+x_3 \leq 2</math> | |||
<math>x_1+x_2+x_6 \leq 2</math> | |||
<math>x_1+x_5+x_6 \leq 2</math> | |||
<math>x_3+x_4+x_5+x_6 \leq 3</math> | |||
Revision as of 23:38, 21 November 2020
Author: Ryan Carr, Patrick Guerrette, Mark James (SysEn 5800 Fall 2020)
Introduction
In mixed-integer programming, mixed-integer cuts are additional constraints placed upon the problem in order to make the extreme points of the feasible region be integers as opposed to points with fractional values. These cuts reduce the feasible region, making the problem easier to solve. A mixed-integer problem can be reduced with mixed-integer cuts until its feasible region reaches the convex hull, where all extreme points of the feasible region are integers.
Cutting Planes
The process to create cuts is to first take the mixed-integer problem and then relax the variables to a linear programming problem and tighten the problem through additional constraints such that extreme points of the feasible region are integers.
Gomory Cuts
Ralph Gomory sought out to solve mixed integer linear programming problems by using cutting planes in the late fifties and early sixties [1].
For a given knapsack inequality:
$ \sum_{j}a_{i,j} x_j \leq b_i \qquad x_j \in \{0,1\} $
The Gomory cut is defined as:
$ \sum_{j} \lfloor a_{i,j} \rfloor x_j \leq \lfloor b_i \rfloor $
Using the simplex method with Gomory cuts(fractional example):
1. Begin with LP in standard form for application of simplex method.
2. Apply simplex method until convergence, and select any non-integer $ b_i^* $constraint:
$ \sum_{j}a_{i,j}^*x_j=b_i^* $
3. Rewrite constraint using fractional parts $ f_{i,j}=a_{i,j}-[a_{i,j}], \quad f_i=b_i - [b_i] $:
$ \sum_{j}f_{i,j}^*x_j-f_j^*=b_j^*=[b_j^*]-\sum_{j}[a_{i,j}^*]x_j $
4. Add new constraint$ \sum_{j}f_{i,j}x_j-f_j\geq0 $, with integer excess, to tableau.
5. Repeat steps 2-4 until all right hand side $ b_i^* $'s are integers.
Example:
$ 3 x_1 + 3\frac{2}{5} x_2 - \frac{2}{5} x_3 = 8 \frac{3}{4} $
Cut:
$ \frac{2}{5} x_2 + \frac{3}{5} x_3 \geq \frac{3}{4} $
$ -3 \frac{1}{4} x_1 + \frac{2}{5} x_2 - \frac{2}{5} x_3 = 7 \frac{5}{6} $
Cut:
$ \frac{3}{4} x_1 + \frac{2}{5} x_2 + \frac{3}{5} x_3 \geq \frac{5}{6} $
Cover Cuts
For a given knapsack inequality:
$ \sum_{j}a_{i,j} x_j \leq b_i \qquad x_j \in \{0,1\} $
Let $ C\subset J $ and $ \sum_{j\in C} a_j > b $
The cover inequality is:
$ \sum_{j \in C}x_j\leq |C| - 1, \quad x_j \in \{0,1\} $
Example:
Change numbers
$ \max Z = 11 x_1 + 6 x_2 + 6x_3 + 5x_4 + 5x_5 + 4x_6 + x_7 \leq 19 $
Some minimal cover inequalities of Z are:
$ x_1+x_2+x_3 \leq 2 $
$ x_1+x_2+x_6 \leq 2 $
$ x_1+x_5+x_6 \leq 2 $
$ x_3+x_4+x_5+x_6 \leq 3 $
Applications
Conclusion
Mixed Integer Cuts allows for shorter computational time in solving mixed integer linear programs by refining the feasible region with linear inequalities. If the optimum found by solving the non-integer linear program is non-integer, a linear inequality can be determined to remove the solution from the feasible region leading to the convex hull.
References
[1] Gomory Cuts revisited
Mixed integer nonlinear programming
Laurence A. Wolsey - Integer Programming