XPRBdelbasis
XPRBdelbasis |
Purpose
Synopsis
void XPRBdelbasis(XPRBbasis basis);
Argument
|
basis
|
Reference to a previously saved basis.
|
Example
The following code demonstrates saving a basis prior to some matrix changes. Subsequently the old basis is reloaded and the redundant saved basis deleted.
XPRBprob expl2;
XPRBbasis basis;
expl2 = XPRBnewprob("example2");
...
XPRBlpoptimize(expl2, "");
basis = XPRBsavebasis(expl2);
...
XPRBloadmat(expl2);
XPRBloadbasis(basis);
XPRBdelbasis(basis);
XPRBlpoptimize(expl2,"");
Further information
This function deletes a basis that has been saved using function
XPRBsavebasis. Typically, the reference to a basis should be deleted if it is not used any more.
Related topics
