Optimization problem multivariable using fmincon

19 vues (au cours des 30 derniers jours)
Dyan Voetdijk
Dyan Voetdijk le 14 Mai 2020
Commenté : Ameer Hamza le 14 Mai 2020
I'm trying to use fmincon to optimize a certain function of 515 parameters between 0 and 1, the calculationtime for a single set of parameters is 12 seconds. Now if I try to use Fmincon it seems to take forever.
options=optimoptions('fmincon','MaxFunctionEvaluations',2,'MaxIterations',1);
fmincon(@allocatie_optimalisatie_function,parameters,[],[],[],[],lb,ub,[],options)
I would assume that with these settings is should only take a maximum of 24 seconds.
Thank you in advance
  1 commentaire
Ameer Hamza
Ameer Hamza le 14 Mai 2020
Yes, it should be near 24 seconds? Are you getting any unexpected results?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Problem-Based Optimization Setup dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by