---+ Linear Programming Relaxation 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 %$x$% of the LP relaxation has integer values for the integer variables, then %$x$% 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 %$m \times m$% matrix %$M$% is _unimodular_ if and only if its determinant %$|M|$% is equal to 1 or –1; * An %$m \times n$% matrix %$M$% is _totally unimodular_ if and only if every %$m \times m$% non-singular submatrix of %$M$% is unimodular; * If the constraint matrix %$A$% and the right-hand side vector %$b$% 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. ---++ Using AMPL In [[AMPLGuide][AMPL]] the LP relaxation may be solved simply by turning on the =relax_integrality= option: <pre> option relax_integrality 1; </pre> Turning it off: <pre> option relax_integrality 0; </pre> means that AMPL will return to solving the integer programme. -- Main.MichaelOSullivan - 23 Apr 2008
This topic: OpsRes
Topic revision: r4 - 2018-11-23 - TWikiAdminUser
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?