solve Method

Name | Description | |
---|---|---|
![]() |
solve | Obsolete. |
![]() ![]() |
solve(String) | Obsolete.
Call Xpress-Optimizer solution algorithm. This method selects and starts the Xpress-Optimizer solution algorithm. The characters indicating the algorithm choice may be combined where it makes sense, e.g. "dg". If the matrix loaded in Xpress-Optimizer does not correspond to the current problem definition it is regenerated automatically prior to the start of the algorithm. The sense of the optimization (default: minimization) can be changed with method setSense(int). Before solving a problem, the objective function must be selected with setObj(). Note that if you use an incomplete global search you should finish your program with a call to the Xpress-Optimizer method
XPRSprob.InitGlobal() (see Xpress-Optimizer manual for details) in order to remove all search tree information that has been stored. Otherwise you may not be able to re-run your program.
|
