Unstable solution for constrained nonlinear optimization problem!
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Optimization Toolbox 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!