3 Types of Pontryagin maximum principle