I want to optimize two variables

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

Torsten
Torsten 2022년 6월 2일
Unclear what you mean.
What is "maximum of u and p" ?
The parameters in [ ] are matrices ?
Please explain in more detail.
MEKDES KASSA
MEKDES KASSA 2022년 6월 2일
the parameters in [] are matrixes. and also B may be vary between 1 and 3. for each value of B there will be a combination of u and p which can be the solution. and among these solution i want to identify the maximum ones.
Torsten
Torsten 2022년 6월 2일
편집: Torsten 2022년 6월 2일
and among these solution i want to identify the maximum ones.
The maximum u or the maximum p or the maximum u+p or ... ?
Sam Chak
Sam Chak 2022년 6월 2일
Can you provide more information, especially the matrices on [Ku], [Kp], and [C]?
Now we know that u is constrained to [0, 200] and p is function of u, which implies p = f(u), and the optimization problem can be pobably solved by searching through u via an iterative approach.
MEKDES KASSA
MEKDES KASSA 2022년 6월 2일
p is a variable not a function of u
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일

1 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2022년 6월 2일

답변:

2022년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by