MATLAB: Fmincon invalid starting point

fminconstarting pointx0

Hello,
I find (local) minimum of 3D function with fmincon, bounds and constraint are given for the solver. If I give a "bad" starting point which ignore bounds and constraint then how does fmincon generate a new one? What is the algorithm/method?
Thanks!

Best Answer

This is mentioned in the doc:
Components of x0 that violate the bounds are reset to the interior of the box defined by the bounds. Components that respect the bounds are not changed.
Related Question