Two-sided inequalities specified by S2, l2, u2
are currently
transformed into the one-sided form \(S'x >= s\), combined with
any directly specified constraints of this form. Some basic consistency
checks are carried out, notably regarding the dimensions of the inputs.
set_constraints(
R = NULL,
r = NULL,
S = NULL,
s = NULL,
S2 = NULL,
l2 = NULL,
u2 = NULL,
scale = FALSE
)
An environment with constraint matrices and vectors and a method to check whether a numeric vector
satisfies all constraints. Returns NULL
in case of no constraints.
equality constraint matrix each column of which corresponds to a constraint.
right-hand side vector for equality constraints \(R'x = r\), where \(R'\) denotes the transpose of R.
inequality constraint matrix each column of which corresponds to an inequality constraint.
rhs vector for inequality constraints \(S'x >= s\), where \(S'\) denotes the transpose of S.
inequality constraint matrix each column of which corresponds to a two-sided inequality constraint.
vector of lower bounds for two-sided inequality constraints \(l_2 <= S_2'x <= u_2\).
vector of upper bounds for two-sided inequality constraints \(l_2 <= S_2'x <= u_2\).
whether to scale the columns of all constraint matrices to unit Euclidean norm.