ILOG CPLEX .NET Reference Manual

Cplex.GetInfeasibilities Method (INumVar[], Int32, Int32)

Returns infeasibility values for num consecutive variables, starting from the index specified by start.

public virtual double[] GetInfeasibilities(
   INumVar[] var,
   int start,
   int num
);

Parameters

var
An array of variables whose infeasibilities are being queried. These variables must be in the active model.
start
The index of the first variable in var for which to query the infeasibility.
num
The number of consecutive variables in var for which to query the infeasibility.

Return Value

The infeasibility values for the specified variables. If infeas is the array returned by this method, infeas[j] will be the infeasibility value for variable var[j+start].

Remarks

UnknownObjectException One of the specified variables in var 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