| .solver_check_primal_feasibility | R Documentation |
Computes the slack
\mathbf{C}^{\top}\beta - \mathbf{c}
and reports which inactive inequalities are violated.
.solver_check_primal_feasibility(
beta_full,
qp_Amat,
qp_bvec,
active_ineq = integer(0),
tol = sqrt(.Machine$double.eps)
)
beta_full |
Full coefficient column vector. |
qp_Amat |
Inequality constraint matrix. |
qp_bvec |
Inequality right-hand side. |
active_ineq |
Integer vector of active inequality indices, using
the local indexing of |
tol |
Numeric tolerance. |
List with slack, violated, and feasible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.