How choose MultiStart x0
Ältere Kommentare anzeigen
Hello,
I have a 3D function (e.g. f(x,y)). I find the global minumum with MultiStart. Given lb_x,lb_y,ub_x,ub_y and a linear equality constraint (const=x+y).
When MultiStart runs fmincon "i" times, default random generated x0 starting points satisfy bounds but linear equality constraint is unsatisfied (const not equal x+y). Why? What can I do for generated x0 satisfy equality constraint?
Thanks in advance!
Akzeptierte Antwort
Weitere Antworten (1)
An equality constraint can never be satisfied exactly because of finite machine precision.
Solutions ultimately found by FMINCON also do not satisfy constraints exactly. They only satisfy them within the TolCon optimset parameter.
1 Kommentar
Zoltan
am 14 Mai 2013
Kategorien
Mehr zu Linear Least Squares finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!