Skip to main content
FRAMES NO FRAMES

Class IloCplex::ExtractedConstraintException

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::ExtractedConstraintExceptionIloCplex::ExtractedConstraintExceptionIloCplex::ExtractedConstraintExceptionIloCplex::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 is malformed. A cut that is 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 IloConstraintgetConstraint() const
Inherited Methods from Exception
getStatus
Inherited Methods from Exception
Exception
Inherited Methods from IloException
end, getMessage, IloException
Method Detail

getConstraint

public IloConstraint getConstraint() const

Returns the constraint that triggered the invoking exception.