This project contains Fortran and AMPL code to solve for the optimum in the Bathtub model.
Two types of utility functions are considered:
The Fortran code calls some standard functions and libraries:
and relies on
for the optimization process.