Modifying NLobjective in JuMP?



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?


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