# Various AMPL Commands used in Lecture 4 # run the commands in filename using ampl ampl < filename # from unix ampl: include filename # from ampl ampl: include runmultsets # from ampl #filename is e.g. runmultsets which contains the commands: reset; model multpaintset.mod; data multpaintset.dat; solve; show; display amount; #Note the integer valued solutions - a surprise? display Supply; display Demand; expand Cost; expand Demand; reset; model integprogr1.mod; data integprogr1.dat; solve; display amount; display open; # note Oakland NOT opened model qppaint.mod; # quadratic example solve;