Starting point of a nonlinear optimization using Ipopt

If I don’t specify the staring point in a nonlinear optimization using Ipopt ,what does the solver starts with?

1 Like

If you use JuMP, the starting point is zero (and Ipopt will complain if you have a nonlinearity that is undefined at zero, like 1/x). I don’t know if the value is set by JuMP or by Ipopt itself, though.

2 Likes

JuMP* sets the starting point to 0, or it projects onto the nearest variable bound if 0 is outside that bounds.

Here are the docs for setting different starting values: Variables · JuMP

*Really Ipopt.jl does this, not JuMP.

All right, thank you both, also thank @odow for the docs :pray:

1 Like