ILOG CPLEX .NET Reference Manual

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

Returns basis statuses for num consecutive variables, starting from the index specified by start, in the array var.

public virtual BasisStatus[] GetBasisStatuses(
   INumVar[] var,
   int start,
   int num
);

Parameters

var
An array containing the variables whose basis statuses are being queried.
start
The index of the first variable in the array var for which to return basis statuses.
num
The number of consecutive variables in the array var for which to return basis statuses.

Return Value

The basis statuses for the specified variables in var. If b is the returned array, b[j] will be the basis status for variable var[j+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