get last computed solution - Global Optimization Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Toolboxes : Global Optimization : GlobalOptimization/GetLastSolution

GlobalOptimization[GetLastSolution] - get last computed solution

Calling Sequence

GetLastSolution()

Description

• 

The GetLastSolution command retrieves the last solution computed by the GlobalOptimization[GlobalSolve] command, including the case where the GlobalSolve command has been interrupted.

Examples

withGlobalOptimization:

packageVolume:=4abc+h+1:

constraints:=401πabc3+h33c2+πabc+h,h2b21c2b2,2ba:

sol:=timelimit1,GlobalSolvepackageVolume,constraints,a=1..10,b=1..10,c=1..10,h=1..10,populationsize=130,avgstopstepwidth=0.0001

Error, (in Extcall) time expired

GetLastSolution

77.6889312810363,a=2.15295942678566,b=1.07647976339284,c=5.38628132739408,h=1.99397765794255

(1)

See Also

GlobalOptimization, GlobalOptimization/Options, GlobalOptimization[GlobalSolve]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam