I want to optimize two variables
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (2개)
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
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!