Skip to main content
FRAMES NO FRAMES

Class IloCplex::InvalidCutException

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::InvalidCutExceptionIloCplex::InvalidCutExceptionIloCplex::InvalidCutExceptionIloCplex::ExceptionIloAlgorithm::ExceptionIloException

An instance of this exception is thrown by IloCplex when an an attempt is made to add a malformed cut. A cut that uses variables that have not been extracted to the model is malformed. A cut defined by an expression that is not linear is malformed. A cut is also considered malformed when it has already been extracted for the invoking IloCplex object and is thus already a part of the model.

Method Summary
public IloConstraintgetCut() const
Inherited Methods from Exception
getStatus
Inherited Methods from Exception
Exception
Inherited Methods from IloException
end, getMessage, IloException
Method Detail

getCut

public IloConstraint getCut() const

Returns the invalid cut that triggered the invoking exception.