Initializing help system before first use

XPRSgetpivotorder

XPRSgetpivotorder


Purpose
Returns the pivot order of the basic variables.
Synopsis
int XPRS_CC XPRSgetpivotorder(XPRSprob prob, int mpiv[]);
Arguments
prob 
The current problem.
mpiv 
Integer array of length ROWS where the pivot order will be returned.
Example
The following returns the pivot order of the variables into an array pPivot :
XPRSgetintattrib(prob,XPRS_ROWS,&rows);
pPivot = malloc(rows*(sizeof(int)));
XPRSgetpivotorder(prob,pPivot);
Further information
Row indices are in the range 0 to ROWS- 1, whilst columns are in the range ROWS+ SPAREROWS to ROWS+ SPAREROWS+ COLS- 1.
Related topics