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

 採用された回答

Matt J
Matt J 2020 年 12 月 3 日
編集済み: Matt J 2020 年 12 月 3 日

0 投票

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

1 件のコメント

Arseniy Sleptsov
Arseniy Sleptsov 2020 年 12 月 17 日
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 ExchangeLinear 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