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.
withGlobalOptimization:
packageVolume≔4abc+h+1:
constraints≔40≤−13πabc3+h3c2+πabc+h,2b≤a,h2≤b2−1c2b2:
sol≔timelimit1,GlobalSolvepackageVolume,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