| scip_add_linear_cons | R Documentation |
Adds lhs <= sum(coefs * x[vars]) <= rhs.
scip_add_linear_cons(model, vars, coefs, lhs = -Inf, rhs = Inf, name = NULL)
model |
A SCIP model. |
vars |
Integer vector; 1-based variable indices. |
coefs |
Numeric vector; coefficients (same length as |
lhs |
Numeric; left-hand side. Default |
rhs |
Numeric; right-hand side. Default |
name |
Character; constraint name. Default auto-generated. |
Integer; 1-based constraint index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.