Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
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⁢π⁢a⁢b⁢c3+h33⁢c2+π⁢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 Extcall) time expired
GetLastSolution⁡
77.6889312810363,a=2.15295941373672,b=1.07647975686837,c=5.38628145707226,h=1.99397762984872
See Also
GlobalOptimization/Options
GlobalOptimization[GlobalSolve]
Download Help Document