GlobalOptimization
GetLastSolution
get last computed solution
Calling Sequence
Description
Examples
GetLastSolution()
The GetLastSolution command retrieves the last solution computed by the GlobalOptimization[GlobalSolve] command, including the case where the GlobalSolve command has been interrupted.
with⁡GlobalOptimization:
packageVolume ≔ 4⁢a⁢b⁢c+h+1:
constraints ≔ 40≤−1⁢Pi⁢a⁢b⁢c3+h33⁢c2+Pi⁢a⁢b⁢c+h,h2≤b2−1⁢c2b2,2⁢b≤a:
sol ≔ timelimit⁡1,GlobalSolve⁡packageVolume,constraints,a=1..10,b=1..10,c=1..10,h=1..10,populationsize=130,avgstopstepwidth=0.0001
Error, (in GlobalOptimization:-GlobalSolve) external linking: error loading external library liboptimuswrap.so: liboptimuswrap.so: cannot open shared object file: No such file or directory
GetLastSolution⁡
Error, (in GlobalOptimization:-GetLastSolution) no solution found
See Also
GlobalOptimization/Options
GlobalOptimization[GlobalSolve]
Download Help Document