How to solve Symbolic Optimization
Show older comments
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 Comment
Shashank Gupta
on 2 Aug 2019
Hi Maria,
Can you please provide the complete stack trace of error which you are getting while executing your script.
Answers (0)
Categories
Find more on Common Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!