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
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개)

질문:

2019년 7월 29일

댓글:

2019년 8월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by