lanl-ansi / Juniper.jl

A JuMP-based Nonlinear Integer Program Solver
https://lanl-ansi.github.io/Juniper.jl/stable/
MIT License
179 stars 22 forks source link

Clean up JuMP code in tests #224

Closed odow closed 2 years ago

odow commented 2 years ago

This smells like JuMP 0.18: https://github.com/lanl-ansi/Juniper.jl/blob/df63a8d41b699be47d1eeecacef3ec2a6572c0e4/test/runtests.jl#L51-L70

Wikunia commented 2 years ago

Can you refer to what changed regarding this? I'm a bit out of the loop 😃 are there new ways to obtain the inner model now?

odow commented 2 years ago

solve is optimize!, followed by termination_status internalmodel is unsafe_backend getsolvetime is solve_time getobjgap is relative_gap