| scip_add_sos2_cons | R Documentation |
At most two adjacent variables in the set can be nonzero.
scip_add_sos2_cons(model, vars, weights = NULL, name = NULL)
model |
A SCIP model. |
vars |
Integer vector; 1-based variable indices. |
weights |
Numeric vector; weights determining adjacency order. |
name |
Character; constraint name. |
Integer; 1-based constraint index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.