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≤−13⁢π⁢a⁢b⁢c3+h3c2+π⁢a⁢b⁢c+h,2⁢b≤a,h2≤b2−1⁢c2b2:
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