Can gurobi optimize SOS1 variables?
AnsweredI have an ILP optimization problem and I use the special ordered set of type 1(SOS1) to transform it into a linear program with only binary optimization variables. However, my optimization variables are all belongs to SOS1 which means that the x1,x2,... in C^T*X are all SOS1. Can gurobi solve this problem?
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. -
Gurobi can handle SOS constraints. You can add these special constraints via the addSOS() method.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments