minimize the cost function with two variables

13 次查看(过去 30 天)
hi i am working with binary and real coded ga to minimize the cost function with two variables...one of the variables i want to keep as integer form in MATLAB... is it possible to get that out put parameter as a integer form....plz ans...
  7 个评论
José-Luis
José-Luis 2014-6-26
I am sorry but I still don't see a specific question. I don't have time to go through your code, take an educated guess at what you might want and solve your problem for you.
Matt J
Matt J 2014-6-26
Since it's only 2 variables, I would just find the minimum by exhaustive search.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by