Capstone Projects, Solution Verification, and Practical Methodology
This section synthesizes the complete optimal control workflow developed throughout the course. Rather than introducing new theory, it explains how calculus of variations, Pontryagin’s Minimum Principle, indirect methods, direct methods, dynamic programming, and numerical optimization fit together in solving practical engineering problems.
Course Roadmap¶
Topics include:
Calculus of Variations
Pontryagin’s Minimum Principle
Indirect Numerical Methods
Direct Shooting
Multiple Shooting
Direct Collocation
Pseudospectral Methods
Costate Estimation
Dynamic Programming and the HJB Equation
Indirect Solution Workflow¶
The indirect approach consists of:
Derive first-order optimality conditions.
Form state, costate, and stationarity equations.
Solve the resulting TPBVP.
Recover the optimal state, control, and costate trajectories.
Verify second-order conditions.
Extremals versus Optimal Solutions¶
The first-order necessary conditions generate an extremal, not necessarily an optimal solution. A candidate trajectory satisfies the necessary conditions but must still satisfy second-order sufficient conditions for local optimality.
Legendre–Clebsch Condition¶
For regular problems,
is a local minimum test. For LQR,
so
Thus positive definiteness of guarantees satisfaction of the Legendre–Clebsch condition.
Direct Methods¶
Direct methods parameterize the control (or state and control), transcribe the problem into an NLP, solve the NLP, then reconstruct trajectories.
Comparing Direct and Indirect Solutions¶
Recommended comparisons:
state trajectories;
control histories;
cost values;
costates (when available through collocation multipliers);
convergence under mesh or polynomial refinement.
Project Methodology¶
A good capstone project should:
choose a tractable nonlinear system;
solve it by one indirect method;
solve it by one direct method;
compare both solutions;
explain any discrepancies;
discuss numerical robustness and computational cost.
Common Pitfalls¶
overly complicated dynamics;
bang–bang controls approximated by low-order polynomials;
singular arcs ignored;
insufficient discretization;
comparing only controls while ignoring costates.
Research Perspective¶
Engineering research requires interpreting imperfect numerical results, diagnosing inconsistencies, and validating conclusions using theory rather than relying solely on software output.
Suggested Capstone Workflow¶
Select a manageable problem.
Derive optimality conditions.
Implement an indirect solver.
Implement a direct solver.
Verify convergence.
Compare trajectories and costs.
Interpret discrepancies.
Draw engineering conclusions.
Connection. The workflow becomes concrete in a fixed-time ascent problem whose costates yield an analytical bilinear tangent steering law.