Save this video free

Stanford AA203 Optimal and Learning-Based Control | Spring 2026 | Lecture 7: Dynamic Programming

Stanford Online · 1:15:15 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Prof. Marco Pavone shifts AA203 from open-loop control sequences to closed-loop policies, deriving dynamic programming from the principle of optimality and showing how backward recursion reuses optimal solutions to tail problems. He applies the method to a shortest-path example and finite-horizon discrete-time LQR, where linear dynamics and quadratic costs yield linear state-feedback gains and Riccati matrix recursions, while highlighting the curse of dimensionality.

Key takeaways

Chapters

0:00 From Open-Loop Optimization to Closed-Loop Policies
7:30 Discrete-Time Dynamics, Constraints, and Additive Costs
13:30 The Principle of Optimality and Additive Cost
15:00 Why an Optimal Path Has an Optimal Tail
22:30 Tail Subproblems in Discrete-Time Control
24:30 Reusing Tail Solutions Instead of Recomputing Paths
31:00 Backward Recursion Builds the Dynamic Program
33:00 Shortest-Path Example: Computing Costs from h Backward
40:00 Modeling a Problem to Fit Dynamic Programming
42:00 The Curse of Dimensionality in State-Space Recursion
47:30 Policies, Cost-to-Go, and the Meaning of Backward Solving
53:00 Discrete-Time LQR: Linear Dynamics and Quadratic Costs
57:00 The LQR Boundary Condition and One Backward Step
1:01:00 Linear Feedback Gains and the Riccati Recursion

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:05 So I hope you enjoyed the lectures from Daniele. Now, I'm back. For the next three lectures, I'll be your instructor. So let me first recap where we are, and then I'm going to introduce the topic for today. And to do so, let's go back to our usual roadmap for this class. So far, what we have been investigating is the left-hand side branch of this complicated roadmap. That is, we have been looking at the methods that solve the optimal control problem in open loop form. That is what we are trying to compute, is the sequence of controls parameterized by time, that optimize a given cost function given in additive form.

0:55 And we'll be looking at the two broad classes of methods referred to as the indirect methods and the direct methods. These two classes of methods are really complementary. So in the case of indirect methods, the idea is to first derive the necessary conditions for optimality. Basically, the generalization of the gradient equal to 0 condition from non-linear optimization to the setting of infinite dimensional optimization, namely optimal control. You saw that necessary optimality condition boils down to solving a 2 point boundary value problem, that is a differential equation with split boundary conditions. And historically, that's the first methods

1:43 that has been developed to solve this class of problems. And then you also saw the other approach referred to as direct methods, where the idea is to take the given continuous time optimal control problem, discretize it. And once you have discretized the problem, now you are back to the setting of a nonlinear optimization, and then use a nonlinear solver of your choice in order to solve that nonlinear optimization problem. These days, particularly for robotics, direct methods are more popular. Thanks to advances in algorithms, for example,

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Stanford Online.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.