Optimization with integers only
Afficher commentaires plus anciens
Hello,
I'm using Optimization Toolbox on MatLab 7.7.0.
I would like to minimize a function f(X) where X must be only integers. I have try to do that using DiffMinChange = 1 and DiffMaxChange = 1, but it does not work.
How to force MatLab to use only integers as solution?
Thanks for your help.
Réponses (1)
Sean de Wolski
le 24 Avr 2012
1 vote
This can be done with ga() in the Global Optimization Toolbox:
Catégories
En savoir plus sur Problem-Based Optimization Setup dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!