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!