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

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

 采纳的回答

linprog would be appropriate. You could also use the problem-based framework to set up the problem.

1 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by