Modifying NLobjective in JuMP?

question

#1

I have a nonlinear optimization problem setup in JuMP that I just solved. Now I want to modify the objective.
If I just call @NLobjective with the new objective, will I get a hot-start in the next call to solve?


#2

It depends upon the solver. With Ipopt, the answer is yes.