Tag minimization

Solving complex minimization problem

This post is a solution of the following question asked on Stack Overflow. It shows how to solve a complex minimization problem involving integral as objective function and differentials equations as constraints using the usual standard numpy and scipy libraries.