jump-dev / Pavito.jl

A gradient-based outer approximation solver for convex mixed-integer nonlinear programming (MINLP)
Other
60 stars 10 forks source link

Add support for ScalarNonlinearFunction. #72

Open stephanmg opened 10 months ago

stephanmg commented 10 months ago

Hi, thanks first for the nice package.

I tried to set up a simple MINLP by the help of the README, but it fails with the following error message: ERROR: LoadError: The solver does not support an objective function of type MathOptInterface.ScalarNonlinearFunction.

Any idea?

odow commented 10 months ago

I transferred this issue to Pavtio. We do to support the new nonlinear interface to JuMP yet. You need to use the legacy nonlinear interface https://jump.dev/JuMP.jl/stable/manual/nlp/.

Question also asked on https://discourse.julialang.org/t/jump-with-pajarito-pavito-for-a-simple-minlp-fails-with-solver-does-not-support-mathoptinterface-scalarnonlinearfunction/106314