Initializing help system before first use

XPRSpivot

XPRSpivot


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
425 
in is invalid (out of range or already basic).
426 
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:
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-2020 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.