Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Finite-budget barrier or SQP solve for a transcription NLP

Definition

Inputs are a transcription record from Finite-horizon shooting and Runge–Kutta collocation transcription, a primal initial iterate z0 and full multiplier iterate μ0=(ν0,λ0) in the fixed equality/inequality constraint ordering, an optional canonical QP start (x0,y0,s0) with nonnegative primal variables x0, free equality multipliers y0, and nonnegative dual slacks s0, an SQP model builder, and finite nonnegative tolerances τp,τd,τc,τstage,τquad. The stage and quadrature tolerances must match those bound into the transcription record. The KKT tolerances τp,τd,τc bound primal feasibility, stationarity, and multiplier-feasibility/complementarity; in the QP route τc also bounds the primal-dual gap. Also supply finite integer SQP and QP update caps K,N∈N0, positive finite integer penalty/backtracking caps R,Jmax∈N with R,Jmax≥1, merit parameters ρ0>0, γ>1, 0<β,σ<1, and the finite-budget exact-Hessian branch selector and identified active set when that branch is requested. The IVP estimator uses its own declared controller tolerances; its status is not treated as an error certificate.

The SQP model builder is a deterministic finite procedure which, at each queried full state (zk,νk,λk), returns either a failure status or the finite NLP data fk,hk,gk,Dhk,Dgk, its objective gradient, a symmetric positive-definite SQP model matrix Wk when the merit branch is selected, and the exact Lagrangian Hessian when the exact-Hessian branch is selected. The model matrix may depend on the supplied current multiplier vectors. For the exact-Hessian branch with identified active set I, evaluate that Hessian with equality multipliers νk, active inequality multipliers (λk)I, and zero inactive multipliers; its required positivity is the separate reduced-curvature condition of the exact step, not full positive definiteness. It must use gi≤0 and nonnegative inequality multipliers. In the merit branch, the associated quadratic subproblem is exactly min⁡p∇fkTp+12pTWkp subject to hk+Dhkp=0 and gk+Dgkp≤0. For that branch, the builder also supplies the active equality/inequality row data required by L1 merit globalization with finite penalty and backtracking budgets. Solver tolerances are used as follows: τp bounds the norm of equality and positive inequality violations, τd bounds the stationarity residual, and τc bounds multiplier-feasibility and complementarity residuals. The stage and quadrature tolerances are passed to the transcription's corresponding residual and certified-error checks. The IVP estimator uses its own declared controller tolerances and has a separate status; its embedded difference is not a certified error bound. Any called builder, evaluator, canonicalizer, or solver returns a value or failure status in finite time.

First audit the transcription dimensions, sampled domains, and data status fields. If stage construction failed, return the partial record with its stage and NLP statuses and do not call a solver. If the model satisfies A linear-quadratic transcription with affine constraints is a convex QP, map its finite quadratic objective and affine constraints to canonical LP/QP form: replace each free variable zi by zi+−zi− with zi+,zi−≥0; for each affine inequality aiTz+di≤0, add a primal slack ξi≥0 and equality aiTz+ξi=−di; retain existing equalities; and transform the quadratic objective by substitution. The transcription record supplies finite stored coefficient arrays. Canonicalize using exact rational arithmetic on their dyadic values, then round each resulting coefficient once to the nearest normal representable value under Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add, preserving exact zeros; any range failure makes the QP route inapplicable. Check the resulting equality matrix by exact rational row elimination; if it is rank deficient or the conversion is otherwise inadmissible, mark the QP route inapplicable and proceed to SQP. The optional start (x0,y0,s0) is in these converted coordinates and is checked constructively: require every primal coordinate, including each added ξi, and every dual slack coordinate s0 to be strictly positive, and require y0 to be finite with the correct equality dimension. If it is absent or fails this check, record strict-start-unavailable and proceed to SQP; do not infer infeasibility or decide whether some other strict start exists. If it passes, call Finite-budget primal-dual Newton methods for LP, convex QP, and symmetric cones once with centering and fraction-to-boundary parameters both 1/2, ϵp=τp, ϵd=min⁡(τd,τc), ϵg=τc, and cap N. The minimum in ϵd ensures the supplier's single tolerance for both its dual and complementarity residuals meets each requested bound; ϵg separately bounds the certified primal-dual gap. If it returns invalid-input or strict-start-unavailable, record that QP status and proceed to SQP. Return every other status and audited residuals. certified-gap certifies the resulting stored canonical floating-point QP, interpreted as exact dyadic rationals, under Fraction-to-boundary steps preserve positivity and exact primal-dual feasibility certifies a gap; it is not a certificate for the unsampled continuous problem. A residual-candidate remains a candidate. No other QP status is reinterpreted as success.

If the QP route is inapplicable or lacks a supplied strict start, run the SQP branch only when the transcription status is solver-ready constructed; otherwise return its not-smooth-nlp or model-construction status without an SQP call. Initialize (z,ν,λ)=(z0,ν0,λ0) and verify the full multiplier dimensions. An invalid state returns model-build-failure with its last available record. For k=0,1,…,K, in order, query the model builder at the entire current state (zk,νk,λk), propagating any builder failure without changing that state, and compute rp=(hk,[gk]+),rd=∇fk+DhkTνk+DgkTλk,rλ=[−λk]+,rc=(λk,igk,i)i, where positive parts are componentwise. If ∥rp∥≤τp, ∥rd∥≤τd, ∥rλ∥≤τc, and ∥rc∥≤τc, return kkt-residual-met with the current decision and residual record; this is an approximate KKT candidate unless all residuals are exactly zero. If k=K, return budget-exhausted. Otherwise, if the exact-Hessian branch is selected and an active set I has been correctly identified, call Full-step exact-Hessian SQP after active-set identification at the current pair (zk,(νk,(λk)I)) with inactive multipliers set to zero, using the exact Hessian evaluated at that same pair. On its successful full Newton-pair return (z+,μ+), use z+, place the equality and active-inequality components of μ+ into the full vectors (ν,λ), and set inactive inequality components to zero; any failure stops with that status without changing the current state. In the merit branch, call L1 merit globalization with finite penalty and backtracking budgets with the current model Wk, ρ0,γ,β,σ,R,Jmax. On accepted or accepted-soc, use its actual returned accepted point z+, including the SOC displacement when present, and full returned QP multipliers (νQP,λQP) to set (z,ν,λ)=(z+,νQP,λQP) for the next model-builder query. Retain the complete supplier record, including its retained equality basis and selected inequality support. Do not replace the full vectors by reduced support multipliers or infer the true nonlinear active set from QP support. Any other supplier status stops the loop without changing the current state. The exact-Hessian local branch has only the conditional convergence guarantee in Exact-Hessian SQP converges quadratically on the identified active KKT system.

Every return is a result record with the last available decision variables, the full current SQP multiplier vectors when that branch has been reached, its last supplier record when one exists, defect residuals, path/endpoint constraint residuals, KKT residuals, objective value, and separate nlp_status, implicit_stage_status, ivp_status, quadrature_status, mesh_status, and budget_status fields. Fields not reached are marked not-run; failed evaluations carry their failure status and do not supply a candidate value. The finite caps bound the procedure. It does not guarantee a start, solver success, a global solution of a nonconvex problem, continuous-path feasibility from sampled constraints, or a certified approximation error for the continuous ODE problem.

Depends on

Used by

Dependency tree · two levels

44 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources