XPRSpivot
Purpose
Performs a simplex pivot by bringing variable
enter into the basis and removing
leave.
Synopsis
int XPRS_CC XPRSpivot(XPRSprob prob, int enter, int leave);
Arguments
|
prob
|
The current problem.
|
|
enter
|
Index of row or column to enter basis.
|
|
leave
|
Index of row or column to leave basis.
|
Error values
|
enter is invalid (leave of range or already basic).
|
|
|
leave is invalid (leave 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:
XPRSpivot(prob,6,4)
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
© 2001-2023 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
