Info
此问题已关闭。 请重新打开它进行编辑或回答。
Gamultiobj output is giving a different cost than when I run the output through again
2 次查看(过去 30 天)
显示 更早的评论
Hi, my code is running through fine, and I am getting a pareto front output from the algorithm. The problem is that when I run the output (x) through my cost function it gives a different cost than the gamultiobj algorithm said it was.
For instance when the algorithm is done it give x=2, with cost =[2 3 5],
Then I run cost_function(2) and it gives cost=[1e3, 1e3, 1e3] for example.
My code is more complicated than that, but that is the issue I am getting
Thanks
2 个评论
Geoff Hayes
2019-9-18
Kurt - you may need to provide more details (and/or code) describing how you are setting up the GA.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!