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 general constraints #155

Closed
colinfang opened this issue Sep 12, 2018 · 1 comment · Fixed by #346
Closed

Support general constraints #155

colinfang opened this issue Sep 12, 2018 · 1 comment · Fixed by #346
Labels
Wrapper: C API Issue is specific to low-level C API

Comments

@colinfang
Copy link
Contributor

Does Gurobi.jl support general constraints such as min, max, abs, or ... already?

Btw, does JuMP even support them?

http://www.gurobi.com/documentation/7.5/refman/py_model_addgenconstrmin.html

@odow
Copy link
Member

odow commented Sep 12, 2018

Does Gurobi.jl support general constraints such as min, max, abs, or ... already?

No. However, Gurobi.jl wraps the Gurobi C API so you could make a pull request wrapping constraints such as http://www.gurobi.com/documentation/7.5/refman/c_grbaddgenconstrmin.html

I can walk you through the process if you need help.

Btw, does JuMP even support them?

Not yet. However, the upcoming release of JuMP 0.19 will have much better support for extensions such as this.

@odow odow added the Wrapper: C API Issue is specific to low-level C API label Dec 14, 2018
@odow odow closed this as completed in #346 Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wrapper: C API Issue is specific to low-level C API
Development

Successfully merging a pull request may close this issue.

2 participants