How can write code of multi objective functions with using optimproblem format?
Show older comments
How can I define functions of multi objective problem with optimproblem format? My mean is using problem based method not using solver based method. ?
For example I have this optimization model:

That this model has two objectives.
I want to write the code of this model with optomproblem.
So I attach my model as above:
prob.Objective = x(1) + 2*x(2);
But above formolation is for one objective function not multi objective problems.
But I have two objective function in my model and I don't know how can I coded them with this method ☹
3 Comments
Star Strider
on 1 Dec 2019
Reference: Please help me to write the code of this constraint with optimproblem format has significaantly more detail.
Star Strider
on 2 Dec 2019
My pleasure.
That could help, providing your code is well-documented so we can understand what it does.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Problem-Based Optimization and Equations 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!