To see a listing of the objective and of each constraint that AMPL generated, you can use the command
expand;
If the listing is very long, you can redirect it to a file. For example, to redirect it to the file model.out
, use the command
expand >model.out;
To get help with output in a different format, give an example of the kind of LP listing that you would like to see.