Skip to content
Technology How it works Breeder — Hyperion Burner — Aegis Burner — MetroVolt AI-Native Architecture Magnets Fuel cycle Safety Roadmap
Solutions AI & Data Centers Defense & Government Grid & Baseload Neutron Detection Quantum
Learn Technical Library
Proof Publications Whitepapers Technical Library Open Science & Reproducibility The Honest Gates
Company About / Mission Leadership Environment Health & Safety Investors Careers Press Contact
3D Model
AI Architecture › Mathematical Foundations
Mathematical Foundations

MPC QP Solver Mathematics

A linear-model MPC step is a quadratic program; solving it fast and reliably each cycle is what makes real-time predictive control feasible.

STRATEGY / SLOW ▲ ▼ MICROSECOND REAL-TIMEL7Ecosystem & Strategytelemetry ▲ control ▼open ▸L6Experience & Visualizationtelemetry ▲ control ▼open ▸L5Applications & Copilotstelemetry ▲ control ▼open ▸L4Orchestrationtelemetry ▲ control ▼open ▸L3Twin Modeling & AItelemetry ▲ control ▼open ▸L2Data Fabrictelemetry ▲ control ▼open ▸L1Control Planetelemetry ▲ control ▼open ▸L0Foundationtelemetry ▲ control ▼open ▸PHYSICAL S.M.A.R.T. GENERATOR PLANTBREEDER · HYPERION1R0 1.2 m · A 2.5 · 16.84 T · δ −0.30BURNER · TANDEM MIRROR2317 T throat · 26.49 T plug · fₙ 5.44% · DEC1 center stack + plasma · 2 high-field plug · 3 expander → direct converterCOLOR GRAMMAR strategy AI-workflow infra/data models reactor/DECLINE SEMANTICStelemetry (µs)controlKRONOS FUSION ENERGYAI-NATIVE S.M.A.R.T. GENERATORMASTER BLUEPRINTSHEET 01REV. 2026-08L0-L7 · 2 MACHINES
The AI-Native S.M.A.R.T. Generator Master Blueprint — eight layers (L0→L7), one control stack, wired to both machines. Telemetry rises in microseconds; control descends the same path.

The quadratic program

With a linear model and quadratic cost, the MPC optimal-control problem is a convex quadratic program (QP) in the stacked decision vector of predicted states and inputs. Convexity means a unique global optimum and reliable solvers - essential when a wrong or late command reaches machine actuators.

text
Condensed QP form:

  min_z  (1/2) z' H z + g' z
  s.t.   A_ineq z <= b_ineq ,  A_eq z = b_eq

  z : stacked inputs (and states) over the horizon
  H : block-diagonal from Q, R, P  (H symmetric PD -> convex)
  constraints from envelope, actuator, slew limits

Interior-point versus active-set versus ADMM

Three solver families dominate. Interior-point methods follow the central path and converge in few, expensive iterations - good for large horizons. Active-set methods guess the binding constraints and are very fast when warm-started near the previous solution. ADMM (e.g. the OSQP style) splits the problem into cheap steps and is robust on embedded hardware. The stack chooses per loop by size and latency budget.

python
# ADMM step for the MPC QP (OSQP-style, schematic)
for it in range(max_it):
    x = solve_kkt(H + rho*A.T@A, -(g + A.T@(rho*z - y)))  # linear solve
    z = clip(A@x + y/rho, lo, hi)          # projection onto box
    y = y + rho*(A@x - z)                   # dual update
    if primal_res()<eps and dual_res()<eps: break

Warm starting and time bounds

Because MPC re-solves a slightly changed problem each cycle, warm-starting from the previous solution slashes iterations - the optimum moves little between cycles. The stack also bounds solve time: it caps iterations and, if the QP has not converged, applies the best feasible iterate rather than missing the control deadline. A guaranteed feasible fallback command exists for every cycle.

Solver choice and tolerances are part of the control-loop's timing budget, coordinated with the FPGA command handoff so the optimized command always arrives inside the deterministic deadline.

Content reviewed August 2026 · design-and-simulation stage