Purpose
Performs a simplex pivot by bringing variable in into the basis and removing out.
Synopsis
int XPRS_CC XPRSpivot(XPRSprob prob, int in, int out);
Arguments
prob
|
The current problem.
|
in
|
Index of row or column to enter basis.
|
out
|
Index of row or column to leave basis.
|
Error values
|
in is invalid (out of range or already basic).
|
|
out is invalid (out of range or not eligible, e.g. nonbasic, zero pivot, etc.).
|
Related Controls
Double
|
Pivot tolerance.
|
|
Relative pivot tolerance.
|
Example
The following brings the 7th variable into the basis and removes the 5th:
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
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.