AMPL simulation 2