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

Constrained Optimization, Lagrangians, and Duality

The Lagrangian and its dual underlie MPC, reconstruction, and scenario design; they turn constrained problems into solvable stationarity conditions.

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 Lagrangian

Nearly every optimization in the stack is constrained - by physics, actuator limits, or the safe envelope. The Lagrangian folds constraints into the objective with multipliers, converting a constrained problem into a stationarity problem. It is the shared mathematical spine of MPC, equilibrium reconstruction, and scenario optimization.

text
Primal:  min f(x) s.t. g_i(x)<=0, h_j(x)=0

Lagrangian:
  L(x, mu, nu) = f(x) + sum_i mu_i g_i(x) + sum_j nu_j h_j(x)

Stationarity:  grad_x L = 0
Dual function: d(mu,nu) = min_x L(x,mu,nu)
Dual problem:  max_{mu>=0, nu} d(mu, nu)

Weak and strong duality

The dual function is always a lower bound on the primal optimum (weak duality); for convex problems satisfying a constraint qualification the bound is tight (strong duality), so primal and dual optima coincide. Convex problems - the QPs in MPC, Tikhonov-regularized reconstruction - enjoy strong duality, which is why they solve reliably and their multipliers are meaningful.

python
# multipliers reveal constraint sensitivities (shadow prices)
sol = solve_constrained(f, g, h)
# dL*/db_i = -mu_i : how the optimum changes as limit i moves
for i, mu in enumerate(sol.mu):
    sensitivity[i] = -mu     # marginal effect of relaxing limit i

Multipliers as sensitivities

The optimal multipliers measure how much the objective would improve if a constraint were relaxed - the sensitivity of the solution to each limit. In control terms this tells the stack which physical limit is most costly to the objective right now, guiding scenario redesign and informing operators which envelope boundary is the true bottleneck. The KKT conditions are exactly the Lagrangian stationarity plus feasibility and complementarity.

Duality is not abstract here: it is how the stack solves constrained problems efficiently and how it explains, in physical terms, which constraint is governing a given operating point.

Content reviewed August 2026 · design-and-simulation stage