ILOG CPLEX 10.1 User's Manual > Advanced Programming Techniques > User-Cut and Lazy-Constraint Pools > Adding User Cuts and Lazy Constraints |
Adding User Cuts and Lazy Constraints |
INDEX
![]() |
You may add user cuts or lazy constraints through routines or methods in the Component Libraries or via LP, SAV, or MPS files, as explained in the following sections.
The following facilities will add user defined cuts to a user cut pool.
CPXaddusercuts
IloCplex::addUserCuts
in the C++ API
IloCplex.addUserCuts
in the Java API
Cplex.AddUserCuts
in the .NET API
The following facilities will add lazy constraints to a lazy constraint pool.
CPXaddlazyconstraints
.
IloCplex::addLazyConstraints
in the C++ API
IloCplex.addLazyConstraints
in the Java API
Cplex.AddLazyConstraints
in the .NET API
User cuts and lazy constraints will appear when the command display problem all
is issued in the Interactive Optimizer. User cuts and lazy constraints can also be added to an existing problem with the add
command of the Interactive Optimizer.
Copyright © 1987-2006 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |