dot-solver_resolve_active_set: Re-Solve an Equality Subproblem for a Fixed Active Set

.solver_resolve_active_setR Documentation

Re-Solve an Equality Subproblem for a Fixed Active Set

Description

Uses the generic augmented-constraint builder together with a supplied equality-only solver to validate and package a fixed active set.

Usage

.solver_resolve_active_set(
  result,
  A,
  constraint_value_vectors,
  qp_Amat,
  qp_bvec,
  qp_meq,
  active_ineq,
  solve_subproblem,
  kkt_subproblem,
  method,
  parallel_qr = FALSE,
  cl = NULL
)

Arguments

result

Current coefficient list.

A

Base equality constraint matrix.

constraint_value_vectors

Equality right-hand-side vectors.

qp_Amat

Full QP constraint matrix.

qp_bvec

Full QP right-hand side.

qp_meq

Number of leading equality columns in qp_Amat.

active_ineq

Candidate active inequality indices on the original qp_Amat indexing.

solve_subproblem

Callback taking one augmented-constraint state and returning the equality-constrained coefficient list.

kkt_subproblem

Callback taking (result_new, aug_state) and returning KKT diagnostics.

method

Character solver label for qp_info.

Value

Either a converged list(result, qp_info, converged) or NULL if the supplied active set does not satisfy KKT.


lgspline documentation built on May 8, 2026, 5:07 p.m.