Chapter 7: Numerical Methods for Control Co-Design
Discretization, transcription, sparse optimization, derivatives, and verification
The numerical method, mesh, scaling, derivatives, and verification procedure can change the design reported as optimal.
CCD problems are often infinite-dimensional because states and controls are functions of time. Computers cannot optimize arbitrary continuous functions directly. Numerical methods replace them with finite variables and algebraic constraints, producing a nonlinear program (NLP).
This chapter develops time discretization, direct and multiple shooting, direct transcription, collocation and defect constraints, sparse NLP structure, derivative computation, scaling, initialization, mesh refinement, and numerical verification.
Learning objectives¶
After completing this chapter, you should be able to:
convert a continuous CCD problem into a finite NLP;
construct and assess a computational mesh;
compare direct shooting, multiple shooting, and transcription;
write Euler, trapezoidal, and Hermite–Simpson defects;
explain direct-transcription sparsity;
compare numerical and exact derivative methods;
perform mesh-refinement and independent-simulation checks; and
organize a reliable CCD implementation workflow.
Chapter roadmap¶
Continuous problem Mesh Shooting or transcription Sparse NLP Derivatives Refinement and verification