Can I use "optimization expressions" with the Global optimization toolbox?
古いコメントを表示
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 件)
カテゴリ
ヘルプ センター および File Exchange で Problem-Based Optimization Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!