Unstable solution for constrained nonlinear optimization problem!
显示 更早的评论
I have a "simple" nonlinear optimization problem, the objective function is defined as
objective = @(x) p0*(1-x(1))^(2/x(2))-p1*(1-x(1))^(1/x(2));
with two bounded constraints
lb = [0 0];
ub = [1 4];
and defined parameters
p0=2.3;
p1=4;
I used
x = fmincon(objective,x0,A,b,Aeq,beq,lb,ub,nonlincon)
but no matter what initial values I used, the answer will be different, I also tried to use genetic algorithm function, I ended up having different answers each time I ran the function with, under the same initial values, any suggestion why the solution is unstable? and what I can do for better result?
Thank you
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!