The Linear Programming (LP) relaxation is the same as the original integer programme, except we "relax" the integer variables to allow them to take fractional values. The integer programme's feasible region lies within the feasible region of the LP relaxation (at points where the integer variables have integer values). Therefore the integer restrictions cause the optimal objective function value to be worse in the integer programme as compared to the LP relaxation. However, if a solution of the LP relaxation has integer values for the integer variables, then also solves the integer programme. In some cases, if the solution values for the integer variables are large, then rounding the LP relaxation solution may give a good solution to the integer programme. However, you need to make sure that the rounded solution is not infeasible!

For some classes of problem the LP relaxation gives naturally integer solutions:

- An matrix is
*unimodular*if and only if its determinant is equal to 1 or –1; - An matrix is
*totally unimodular*if and only if every non-singular submatrix of is unimodular; - If the constraint matrix and the right-hand side vector of a mixed-integer programme are totally unimodular and integer respectively, then the mixed-integer programme is naturally integer and the LP relaxation solution is the optimal solution *The transportation problem is an example of one such problem;
- Most network flow problems are also naturally integer;
- Some scheduling problems are naturally integer.

In AMPL the LP relaxation may be solved simply by turning on the `relax_integrality`

option:

option relax_integrality 1;

Turning it off:

option relax_integrality 0;means that AMPL will return to solving the integer programme.

-- MichaelOSullivan - 23 Apr 2008

Topic revision: r4 - 2018-11-23 - TWikiAdminUser

Copyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

Ideas, requests, problems regarding TWiki? Send feedback