Optimization using parallel-computing is returning optimized vector that does not match the reward provided.
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surrogate Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!