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

Support Nonlinear Expressions #556

Closed
Downsite opened this issue Apr 11, 2024 · 2 comments
Closed

Support Nonlinear Expressions #556

Downsite opened this issue Apr 11, 2024 · 2 comments

Comments

@Downsite
Copy link

Gurobi 11 now support directly addressing nonconvex nonlinear constraints with spacial branch and bound.
It would be great to test Gurobi with the new first-class nonlinear modeling in MathOptInterface.

Older versions already supported "Function Constraints" with piece-wise linear approximations, but that would have been hard to bring to users transparently.

From the discussion here, it seems that a while ago, this was blocked by the API on the side of Gurobi, and we were waiting for "first-class nonlinear API".

Is the API listed here seems to be the one that the comment was based on and is already referenced in the documentation.
Is the API still blocking the adoption of nonlinear modeling?

@odow
Copy link
Member

odow commented Apr 11, 2024

This is a duplicate of #554.

You can add general constraints as documented in the README:
https://github.com/jump-dev/Gurobi.jl?tab=readme-ov-file#the-c-api-from-jump

@odow
Copy link
Member

odow commented Apr 12, 2024

Closing as won't fix. We will address this once Gurobi supports a nonlinear expression interface (like was recently done in Xpress.jl: jump-dev/Xpress.jl#255)

@odow odow closed this as completed Apr 12, 2024
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