Optimization problem
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Razvan
le 3 Avr 2012
Modifié(e) : John Kelly
le 26 Fév 2015
Hi, I try to get the minimum of a function which is defined at discrete points (i,j - integers). The simplest example would be to get the indices i, j which minimize the sum: sum(f(i:j)) Is there an optimization function in Matlab which deals with functions defined on discrete sets?
Thanks,
Razvan
0 commentaires
Réponse acceptée
Paul Kerr-Delworth
le 16 Avr 2012
Modifié(e) : John Kelly
le 26 Fév 2015
Hi,
You could try the genetic algorithm solver, ga, in the Global Optimization Toolbox. It is possible to specify integer constraints to the ga solver.
For more information see the documentation. There is also a video example and another example available on the MathWorks website.
Hope this helps.
Best regards,
Paul
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Nonlinear Optimization dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!