Purpose
Delete a previously saved basis.
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");
...
XPRBsolve(expl2, "l");
basis = XPRBsavebasis(expl2);
...
XPRBloadmat(expl2);
XPRBloadbasis(basis);
XPRBdelbasis(basis);
XPRBsolve(expl2,"l");
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
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.