sos1 - special ordered set type 1 constraint #1042
Replies: 1 comment 2 replies
-
Hello, I have the same problem. How do you solve it |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Johan,
I would like to make use of the SOS1 constraint, however I only find the SOS2 supported yalmip: https://yalmip.github.io/command/sos2/
is there an easy way that I can employ the SOS1 of the underlying solver (f.e. gurobi) through yalmip? thanks!
Model.addSOS()
https://www.gurobi.com/documentation/9.5/refman/py_model_addsos.html#pythonmethod:Model.addSOS
Best,
Maolin
Beta Was this translation helpful? Give feedback.
All reactions