Initializing help system before first use

XPRBsavebasis

XPRBsavebasis


Purpose
Save the current basis.
Synopsis
XPRBbasis XPRBsavebasis(XPRBprob prob);
Argument
prob 
Reference to a problem.
Return value
Reference to the saved basis.
Example
XPRBprob expl2;
XPRBbasis basis;
expl2 = XPRBnewprob("example2");
 ...
XPRBlpoptimize(expl2, "");
basis = XPRBsavebasis(expl2);
This saves the current basis.
Further information
This function saves the current basis of a problem. The basis may be reinput using function XPRBloadbasis. These two functions serve for storing bases in memory; for writing a basis to a file, the Optimizer library function XPRSwritebasis may be used. Note that there is no need to allocate space for the basis, but after its use, the basis should be deleted using function XPRBdelbasis. You may have to switch linear presolve and integer preprocessing off (Optimizer library controls PRESOLVE and MIPPRESOLVE) in order for the saving and reloading of bases to work correctly.
Related topics
XPRBdelbasis, XPRBloadbasis, XPRSreadbasis (see Optimizer Reference Manual), XPRSwritebasis (see Optimizer Reference Manual).

© 2001-2019 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.