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!