ILOG CPLEX .NET Reference Manual

Cplex.GetInfeasibilities Method (IConstraint[])

Returns infeasibility values for an array of constraints.

public virtual double[] GetInfeasibilities(
   IConstraint[] con
);

Parameters

con
An array of constraints whose infeasibility values are being queried. These constraints must be in the active model, either directly or through an instance of ILPMatrix.

Return Value

An array containing the infeasibility values for the constraints in con. If infeas is the array returned by this method, infeas[i] will be the infeasibility value for the constraint con[i].

Remarks

UnknownObjectException A constraint in con is not in the active model. ILOG.Concert.Exception If the method fails, an exception of type ILOG.Concert.Exception, or one of its derived classes, is thrown.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.GetInfeasibilities Overload List