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
José-Luis 2014 年 6 月 26 日
plz more details...ktxb
palash de
palash de 2014 年 6 月 26 日
José-Luis thanks for the reply... can i send the code???
José-Luis
José-Luis 2014 年 6 月 26 日
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.
palash de
palash de 2014 年 6 月 26 日
hahaha... actually i am new in matlab so getting confused...anyways i am sending my code...
palash de
palash de 2014 年 6 月 26 日
plz check the attached file...
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 件)

カテゴリ

質問済み:

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