https://ansible.pythonprogramminghelp.com/5-most-effective-tactics-to-pontryagin-maximum-principle/