Optimal Control for Switched Systems | Hacker News Reader