I want to optimize two variables

3 ビュー (過去 30 日間)
MEKDES KASSA
MEKDES KASSA 2022 年 6 月 2 日
回答済み: M Mirrashid 2022 年 6 月 5 日
I end up on equation as shown below.
[Ku]*[u]+[Kp]*[p]=[C]*B.^2*Ui
B is bounded and Ui is known.
I want to find maximum of u and p combination by varing B.
how can i do that? can i have a plot also?
  7 件のコメント
MEKDES KASSA
MEKDES KASSA 2022 年 6 月 2 日
p get a priority .....but u shouldn't be low too
size(kp)=size(ku)=293X293
size(c)=293X1
Torsten
Torsten 2022 年 6 月 2 日
p get a priority .....but u shouldn't be low too
Too vague for an optimization.

サインインしてコメントする。

回答 (2 件)

Sam Chak
Sam Chak 2022 年 6 月 2 日
Since u and p are the variables, geometrically, this equation is a plane (flat surface)
By varying B, the plane moves can up and down in the z-axis direction in the 3D space.
I'm visualizing, do you think there are maxima if u and p are unconstrained?
  2 件のコメント
Walter Roberson
Walter Roberson 2022 年 6 月 2 日
If they are constrained to non-negative then you could set the other to 0 and solve... but I am not clear at the moment whether they are scalar or matrices
MEKDES KASSA
MEKDES KASSA 2022 年 6 月 2 日
they are matrixes and u is between 0 and 200. p rely on u.

サインインしてコメントする。


M Mirrashid
M Mirrashid 2022 年 6 月 5 日

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by