Skip to main content

finite-horizon-lqr

Finite-horizon discrete-time LQR via the backward Riccati recursion, producing the time-varying gain schedule that a single ARE solve cannot. Use when controlling a linear plant x_{k+1} = A x_k + B u_k under a quadratic cost over a fixed N-step horizon — receding-horizon MPC inner loops, finite-time stabilization, terminal-cost design. Not for nonlinear plants (linearize first), continuous-time models (discretize first), pure steady-state regulation (solve the ARE once), or hard input/state constraints (use QP-based MPC).

Jump to install

Source facts

Repository
Kayforkind/skill-slice
Last source activity
August 14, 2026 at 20:25
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.