Hello! I am doing an optimization and I need to obtain a equilibrium variable that is not the control variable.
1 次查看(过去 30 天)
显示 更早的评论
I am doing an optimization and I need to obtain a equilibrium variable that is not the control variable. This is my objetive function:
function SA = funsubasta(q,E,D,fc,alpha,rw1,v11,w)
SAA = ((E - D.*q).*q - q.*(fc + (exp(alpha*28/rw1))*v11 + w));
SASA=sum(SAA,2);
SA=-sum(SASA);
end
Each first order conditions equal to w, so w is a equilibrium variable and I need to obtain it. This problem is the same of resolve that de First order Conditions been the same to all the control variables, but I think is more complicated use fsolve because I need that all the FOC been de same.
Please help! Thanks!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!