Derivatives for Optimization
----------------------------

Optimization algorithms often require:

    * Hessian of the Lagrangian
    * Diagonal elements of the Lagrangian
    * etc.


The following code shows how these derivatives can be evaluated in AlgoPy:

.. literalinclude:: ampl_minimization_problem.py

