| scip_add_indicator_cons | R Documentation |
If binvar = 1 then sum(coefs * x[vars]) <= rhs.
scip_add_indicator_cons(model, binvar, vars, coefs, rhs, name = NULL)
model |
A SCIP model. |
binvar |
Integer; 1-based index of the binary indicator variable. |
vars |
Integer vector; 1-based variable indices. |
coefs |
Numeric vector; coefficients. |
rhs |
Numeric; right-hand side. |
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.