Can't get the same results at the rocket control tutorial in JuMP

Hi
I am learning how to use the JuMP package. However, I am not getting the same results from the rocket control tutorial.
https://jump.dev/JuMP.jl/v0.21.8/tutorials/Nonlinear%20programs/rocket_control/
In my environment, I get the following results.

Is there any problem?


My environment…
Julia Version 1.6.1
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core™ i5-7360U CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

Ipopt v0.6.3
JuMP v0.21.8

Can you give us what solution_summary is ? In particular, what’s the solution status ?

2 Likes

Thank you for your reply

I get following,

julia> solution_summary(rocket)
* Solver : Ipopt

* Status
  Termination status : NUMERICAL_ERROR
  Primal status      : UNKNOWN_RESULT_STATUS
  Dual status        : UNKNOWN_RESULT_STATUS
  Message from the solver:
  "Restoration_Failed"

* Candidate solution
  Objective value      : 1.0099999899999998

* Work counters
  Solve time (sec)   : 2.95176

I just started using the JuMP package and there are many things I don’t understand.
I noticed that I am getting an error only by running the above.
What is the cause of this error?
I apologize for any inconvenience.

Update to Ipopt v0.6.5. For a short time there was an issue with the linear solver in Ipopt that caused issues like this.

] add Ipopt@0.6.5
1 Like

Thank you for your quick response!! @odow @blegat !!
After updating the package, I got the same result as in the tutorial.

1 Like