Chapter 4: Direct Numerical Methods and Collocation
From trajectory parameterization to sparse nonlinear-program transcriptions
Indirect methods optimize through the necessary conditions; direct methods instead discretize the original problem. This chapter develops that alternative from the ground up. Direct shooting motivates finite-dimensional parameterization, numerical integration explains how continuous dynamics become discrete equations, and Euler collocation turns those equations into a sparse nonlinear program on a normalized time domain.