ILOG CPLEX .NET Reference Manual

Cplex.GetBasisStatuses Method (IConstraint[], Int32, Int32)

Returns basis statuses for num consecutive constraints, starting from the index specified by start, in the array of constraints con.

public virtual BasisStatus[] GetBasisStatuses(
   IConstraint[] con,
   int start,
   int num
);

Parameters

con
An array containing the constraints whose basis statuses are being queried.
start
The index of the first constraint in the array con for which to return the basis status.
num
The number of consecutive constraints in the array con for which to return the basis status.

Return Value

An array containing the basis statuses for constraints in con. If b is the returned array, b[i] will be the basis status for constraint con[i+start].

Remarks

This function succeeds only if a basic solution is available in the invoking Cplex optimizer.

See Also

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