Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ScalarNonlinearFunction. #72

Open
stephanmg opened this issue Nov 16, 2023 · 1 comment
Open

Add support for ScalarNonlinearFunction. #72

stephanmg opened this issue Nov 16, 2023 · 1 comment

Comments

@stephanmg
Copy link

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 odow changed the title ERROR: LoadError: The solver does not support an objective function of type MathOptInterface.ScalarNonlinearFunction. Add support for ScalarNonlinearFunction. Nov 16, 2023
@odow odow transferred this issue from jump-dev/Pajarito.jl Nov 16, 2023
@odow
Copy link
Member

odow commented Nov 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants