How to solve Symbolic Optimization
Mostra commenti meno recenti
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 Commento
Shashank Gupta
il 2 Ago 2019
Hi Maria,
Can you please provide the complete stack trace of error which you are getting while executing your script.
Risposte (0)
Categorie
Scopri di più su Common Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!