What optimization method can be used to solve the following optimization problem?

1 view (last 30 days)
Dear All,
I am trying to find the right method to solve the following optimization problem:
are given scalar constants.
Each is given. There are n of them: let's say Z is a vector of n elements.
Each is given. There are n of them: let's say C is a vector of n elements.
are also elements of corresponding vectors of n elements.
It would be great to see similar example or any ideas to tutorials.
Thanks

Accepted Answer

Matt J
Matt J on 3 Dec 2020
Edited: Matt J on 3 Dec 2020
linprog would be appropriate. You could also use the problem-based framework to set up the problem.
  1 Comment
Arseniy Sleptsov
Arseniy Sleptsov on 17 Dec 2020
Thanks, Matt.
I managed to fit to the linprog the problem.
I have another question: what if in I have two variables and (let's say one of them is integer)?
I saw MINLP, but there was no such problem solved.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!