Help using a class method as an objective function for fmincon does not work
Show older comments
I want to use fmincon inside a class object, using a class method . When I try it I find that fmincon cannot see the function, even though the function is defined appropriately at the time of the call to fmincon. I wrote a test class to illustrate the problem which is attached.
test = testfmincon
min(test)
Accepted Answer
More Answers (0)
Categories
Find more on Nonlinear Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!