loadbasis


Purpose
Load a previously saved basis.
Synopsis
procedure loadbasis(b:basis)
Argument
A basis
Example
The following saves a basis, changes the problem, and then loads it into the Optimizer, reloading the old basis:
declarations
 MinCost:linctr
 mybasis:basis
end-declarations

savebasis(mybasis) 
 ...           
loadprob(MinCost)  
loadbasis(mybasis)  
Further information
1. This procedure loads a basis into the optimizer that has previously been saved using procedure savebasis or constructed using setbstat.
2. The problem must be loaded in the Optimzer for loadbasis to have any effect. If this has not recently been carried out using maximize or minimize it must be explicitly loaded using loadprob.
Related topics
loadprob, savebasis, setbstat, getbstat, resetbasis.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.