GA global optimization toolbox

1 次查看(过去 30 天)
mehdi
mehdi 2012-1-13
Hi, I'm using GA in Global optimization toolbox to solve my mixed integer non-linear program. I have two problems:
1- When the run is finished, I put the results into the main file, but the total cost is different from the objective function that I got from optimization. I'm using the same file, same input data and same values for the decision variables given by GA, but the total cost is different by the minimum value given by GA.
2- My second problem is that, for a same problem and same input data, sometimes GA works well, but, sometimes GA shows crazy values (i.e. inf, zero, 1 or 5 instead of 500000). This is very strange but it's happening to me. For instance, today GA is working well, but yesterday it was not.
Thanks.
  1 个评论
Walter Roberson
Walter Roberson 2012-1-13
Doesn't GA use the random number generator? If so then its behavior would be sensitive to the current state of the generator.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by