Can I use "optimization expressions" with the Global optimization toolbox?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an optimization problem where the Objective function and Constraints rely on results of the same function. Since I do not want to evaluate the function twice I would like to use the "fcn2optimexpr" function to make an "optimization expression" datatype that I can use in problem definition. (Just like this: https://de.mathworks.com/help/optim/ug/objective-and-constraints-using-common-function.html)
However, I now want to use this expression with the Global Optimization Toolbox (not the Optimization toolbox). Is this possible? When I try to set up a problem with createOptimProblem, the solver throws an error, saying the objective function is the wrong type.
Thank you for any help!
Best,
Mark
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Problem-Based Optimization Setup 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!