minimize the cost function with two variables

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 thanks for the reply... can i send the code???
Not to me personally I'm afraid. But please feel free to post it here and ask specific questions.
If your code is long I would recommend you provide a minimum working example that reproduces your problem.
hahaha... actually i am new in matlab so getting confused...anyways i am sending my code...
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.
Since it's only 2 variables, I would just find the minimum by exhaustive search.

请先登录,再进行评论。

回答(0 个)

类别

提问:

2014-6-26

评论:

2014-6-26

Community Treasure Hunt

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

Start Hunting!

Translated by