Optimal control and the Pontryagin s principle in chemical engineering: History, theory, and challenges