Optimization using parallel-computing is returning optimized vector that does not match the reward provided.
Show older comments
I am using MATLAB to run an optimization that calls on a Simulink model to optimize the joint angles of a walking robot. Due to the complexity of the optimization I am using the ga optimization function in matlab and the parallel-computing functionality to help speed up the process. I am running into an issue that when the optimization finishes it returns the reward and optimized vector of variables, however, when I take that array of variables and put it back into the objective function the value obtained does not match the reward value returned from ga. This problem does not occur if I remove the parallel-computing functionality, however, it drastically increases the time for the program to run to well over a day. Has anyone encountered a problem like this in the past?
Accepted Answer
More Answers (0)
Categories
Find more on Surrogate Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!