12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Here is an example of an MPS file extended to include lazy constraints.NAMEextra.mpsROWSN objL c2L c3LAZYCONSL c1COLUMNSMARK0000 'MARKER''INTORG'x1 obj -12x1 c2 2x1 c3 3x1 c1 5x2 obj -5x2 c2 3x2 c3 2x2 c1 1x3 obj -15x3 c2 4x3 c3 4x3 c1 9x4 obj -10x4 c2 1x4 c3 10x4 c1 12MARK0001 'MARKER''INTEND'RHSrhs c2 10rhs c3 8rhs c1 15BOUNDSUP bnd x1 5UP bnd x2 5UP bnd x3 5UP bnd x4 5ENDATADeleting User Cuts and Lazy ConstraintsThe user cut and lazy constraint pools are cleared by calling the routinesCPXfreeusercuts and CPXfreelazyconstraints. Clearing the pools will not changethe MIP solution.The Concert Technology routines are IloCplex::clearUserCuts andIloCplex::clearLazyConstraints.Clearing a pool means that the user cuts and lazy constraints in the pool will be removed andwill not be applied the next time MIP optimization is called, and that the solution to the MIP(if one exists) is still available. Although any existing solution is still feasible, it may nolonger be optimal because of this change in the constraints.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 425

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!