


















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















































n n-dimensional state space n Number of states grows exponentially in n (assuming some fixed number of discretization levels per coordinate) n In practice n Discretization is considered only computationally feasible up to 5 or 6 dimensional state spaces even when using n Variable resolution discretization n Highly optimized implementations
n Goal: find a sequence of control inputs (and corresponding sequence of states) that solves: n Generally hard to do. In this set of slides we will consider convex problems, which means g is convex, the sets Ut and Xt are convex, and f is linear. Next set of slides will relax these assumptions. n Note: iteratively applying LQR is one way to solve this problem if there were no constraints on the control inputs and state. n In principle (though not in our examples), u could be parameters of a control policy rather than the raw control inputs.
n Convex optimization problems n Unconstrained minimization n Gradient Descent n Newton’s Method n Equality constrained minimization n Inequality and equality constrained minimization
n A function is f: < n à < is convex if and only if
Image source: wikipedia
n Convex optimization problems are a special class of optimization problems, of the following form: with f i (x) convex for i = 0, 1, …, n n A function is f is convex if and only if
x∈Rn
∀x 1 , x 2 ∈ Domain(f ), ∀λ ∈ [0, 1] f (λx 1 + (1 − λ)x 2 ) ≤ λf (x 1 ) + (1 − λ)f (x 2 )
n Convex optimization problems n Unconstrained minimization n Gradient Descent n Newton’s Method n Equality constrained minimization n Inequality and equality constrained minimization
n Idea: n Start somewhere n Repeat: Take a step in the steepest descent direction
Figure source: Mathworks
n Used when the cost of solving the minimization problem with one variable is low compared to the cost of computing the search direction itself. Stepsize Selection: Exact Line Search
n Inexact: step length is chose to approximately minimize f along the ray {x + t ¢x | t ¸ 0} Stepsize Selection: Backtracking Line Search
Steepest Descent (= Gradient Descent) Figure source: Boyd and Vandenberghe
Figure source: Boyd and Vandenberghe
Figure source: Boyd and Vandenberghe
n For quadratic function, convergence speed depends on ratio of highest second derivative over lowest second derivative (“condition number”) n In high dimensions, almost guaranteed to have a high (=bad) condition number n Rescaling coordinates (as could happen by simply expressing quantities in different measurement units) results in a different condition number
Condition number = 10 Condition number = 1