Adds the constraints given in cut
as cuts to the invoking Cplex
object.
The array of constraints added as a cut.
The cuts do not become part of the model; they are only copied when the method addCuts
is invoked. Thus, the constraints may be deleted or modified after addCuts
has been called, and the change will not affect the invoking Cplex
object.
Cuts are not part of the root problem; they are considered on an as-needed basis. A solution computed by Cplex
is guaranteed to satisfy all cuts.
When columns are deleted from the active model, all cuts are deleted as well and need to be added again if they should be considered. Otherwise, use clearCuts
to clear all cuts that have been added.
Cplex Class | ILOG.CPLEX Namespace | Cplex.AddCuts Overload List