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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adding User Cuts and Lazy ConstraintsYou may add user cuts or lazy constraints through routines or methods in the ComponentLibraries or via LP, SAV, or MPS files, as explained in the following sections.◆ Using Component Libraries on page 422◆ Using the Interactive Optimizer on page 422◆ Reading and Writing LP Files on page 422◆ Reading and Writing SAV Files on page 424◆ Reading and Writing MPS Files on page 424Using Component LibrariesThe following facilities will add user defined cuts to a user cut pool.◆ The <strong>CPLEX</strong> Callable Library routine CPXaddusercuts◆ The Concert Technology methods:●●●IloCplex::addUserCuts in the C++ APIIloCplex.addUserCuts in the Java APICplex.AddUserCuts in the .NET APIThe following facilities will add lazy constraints to a lazy constraint pool.◆ The <strong>CPLEX</strong> Callable Library routine is CPXaddlazyconstraints.◆ The Concert Technology methods●●●IloCplex::addLazyConstraints in the C++ APIIloCplex.addLazyConstraints in the Java APICplex.AddLazyConstraints in the .NET APIUsing the Interactive OptimizerUser cuts and lazy constraints will appear when the command display problem all isissued in the Interactive Optimizer. User cuts and lazy constraints can also be added to anexisting problem with the add command of the Interactive Optimizer.Reading and Writing LP FilesUser cuts and lazy constraints may also be specified in LP-format files, and so may be read:◆ With the Interactive Optimizer read command422 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

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

Saved successfully!

Ooh no, something went wrong!