How to optimize an objective function with repect to two variables using fmincon?
Show older comments
I want to maximize this objective function with respect to a and b using fmincon.
max(-90a-90b+540)
subjected to 3<=a ; b<=8
1 Comment
Torsten
on 8 May 2022
A typical problem for MATLAB's "linprog":
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display 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!