How to solve Symbolic Optimization
이전 댓글 표시
Hello, I am new to matlab I am trying a symbolic optimization but I keep on getting errors from the optimization toolbox. The problem I want to set up is after I have specified the variables as:
syms Y
syms A
syms N
syms Ao
syms Po
syms Ph
syms P
syms Pf
syms T
syms Ch
syms C
syms e
syms f
syms a
C == Ph/P*Ch
Y == A*N
M == (e*Ao*Po/Pf*T)^(1/(1-e))
Y == Ch + M
T== Pf/P
is to maximize in T and N log (Ch/T^a) - (N^(1+f))/(1+f) subject to Y == A*N and Y == Ch + M which I rewrite as A*N == Ch + M.
Can someone help me? Thank you in advance!
Maria Ludovica
댓글 수: 1
Shashank Gupta
2019년 8월 2일
Hi Maria,
Can you please provide the complete stack trace of error which you are getting while executing your script.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!