Effacer les filtres
Effacer les filtres

How to limit optimization program to choose only natural integers numbers (not float) if my objective function is not linear?

4 vues (au cours des 30 derniers jours)
Hello,
I would like to ask you about my optimization problem on matlab:
Is there a function to compute the minimum of a non-linear function by giving us naturals integers values for x belongs to N (x should be an integer which represent a discrete mode 1 or 2 or 10 or anything else, the important is that x is an natural integer and f is reel R).
Thank you in advance!

Réponse acceptée

Alan Weiss
Alan Weiss le 19 Oct 2021
If you have Global Optimization Toolbox you can use Mixed Integer ga Optimization.
Alan Weiss
MATLAB mathematical toolbox documentation

Plus de réponses (0)

Catégories

En savoir plus sur Nonlinear Optimization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by