sos_constraint!() { /* proc-macro */ }Expand description
sos_constraint!(model, [name|name[idx]], SOS1|SOS2, [var, ...]).
Explicit weights can be supplied as [(var, weight), ...].
The short form assigns consecutive weights starting at one.
sos_constraint!() { /* proc-macro */ }sos_constraint!(model, [name|name[idx]], SOS1|SOS2, [var, ...]).
Explicit weights can be supplied as [(var, weight), ...].
The short form assigns consecutive weights starting at one.