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 commentaires

José-Luis
José-Luis le 26 Juin 2014
plz more details...ktxb
palash de
palash de le 26 Juin 2014
José-Luis thanks for the reply... can i send the code???
José-Luis
José-Luis le 26 Juin 2014
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 le 26 Juin 2014
hahaha... actually i am new in matlab so getting confused...anyways i am sending my code...
palash de
palash de le 26 Juin 2014
plz check the attached file...
José-Luis
José-Luis le 26 Juin 2014
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 le 26 Juin 2014
Since it's only 2 variables, I would just find the minimum by exhaustive search.

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 26 Juin 2014

Commenté :

le 26 Juin 2014

Community Treasure Hunt

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

Start Hunting!

Translated by