How to add General Constraints in R interface?
AnsweredIs it possible to add general constraints such as MAX, ABS, AND etc. in the R gurobi interface?
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Bikram,
the documentation suggests that it is possible. In particular, the section titled "General constraint named components" should be of interest to you.
Best regards
Jonasz0 -
In addition to the documentation, the R example genconstr.R shows how to implement general constraints in the R API.
0
Post is closed for comments.
Comments
3 comments