Using Python and the Algebraic Modeling Language Pyomo to Specify Solve and Analyze Mathematical Programs.