Performance World [ Performance World Home | Board | Tools | PerformanceLib | Links | Gams World Forum | Search | Contact ]

AMPL Book Library of Mathematical Programming Models

The AMPL Book Library is a collection of math programming models from The AMPL Book. AMPL: A Modeling Language for Mathematical Programming by Robert Fourer, David Gay, and Brian Kernighan. The GAMS models were translated by Andre Savistky as is from the original AMPL source.

The raw GAMS models were converted into GAMS scalar format using the CONVERT facility. For models with multiple solves, only the first solve instance is translated.

Reference

Fourer, R., Gay, D.M., and Kernighan, B.W. The AMPL Book. AMPL: A Modeling Language for Mathematical Programming, Duxbury Press, Brooks/Cole Publishing Company, 2002.

Download

Download AMPLBookLib.zip


Total number of models:   51
Original Source:   AMPL Book Examples

Name Type #Eqns #Vars #NZ #NNZ Bestknown Objective GAMS Scalar AMPL Source GAMS Source
blend NLP 9 4 28 0 37.00000000 gms ampl raw gams
diet LP 9 9 71 0 88.20000000 gms ampl raw gams
diet2 LP 13 9 103 0 123.58369991 gms ampl raw gams
dietobj LP 9 9 72 0 228.89067416 gms ampl raw gams
dietu LP 9 9 72 0 74.27382022 gms ampl raw gams
dietu1 NLP 9 9 72 0 74.27382022 gms ampl raw gams
iocol1 NLP 6 8 43 0 135.00000000 gms ampl raw gams
iocol2 NLP 6 12 51 0 21.00000000 gms ampl raw gams
iorow NLP 6 8 43 0 135.00000000 gms ampl raw gams
minmax NLP 16 27 82 0 9.00000000 gms ampl raw gams
multi LP 52 64 253 0 199500.00000000 gms ampl raw gams
multic NLP 31 19 70 0 5210.00000000 gms ampl raw gams
multmip1 MIP 52 85 295 0 235800.00000000 gms ampl raw gams
multmip2 MIP 73 85 379 0 233150.00000000 gms ampl raw gams
multmip3 MIP 76 85 400 0 235625.00000000 gms ampl raw gams
net1 LP 9 10 28 0 1819.00000000 gms ampl raw gams
net1node NLP 9 10 28 0 1819.00000000 gms ampl raw gams
net2 LP 9 10 28 0 1819.00000000 gms ampl raw gams
net3 LP 9 10 28 0 1819.00000000 gms ampl raw gams
net3node NLP 9 10 28 0 1819.00000000 gms ampl raw gams
netasgn NLP 11 15 43 0 201700.00000000 gms ampl raw gams
netfeeds NLP 13 27 67 0 15300.00000000 gms ampl raw gams
netmax NLP 6 16 24 0 130.00000000 gms ampl raw gams
netmax3 NLP 6 16 24 0 130.00000000 gms ampl raw gams
netmcol NLP 20 15 57 0 15300.00000000 gms ampl raw gams
netmulti NLP 20 15 57 0 15300.00000000 gms ampl raw gams
netshort NLP 7 11 29 0 140.00000000 gms ampl raw gams
netthru NLP 9 10 28 0 1819.00000000 gms ampl raw gams
nltrans NLP 11 22 64 21 10000000000.00000000 gms ampl raw gams
prod LP 2 3 5 0 192000.00000000 gms ampl raw gams
sched LP 2 3 5 0 192000.00000000 gms ampl raw gams
steel LP 2 3 5 0 192000.00000000 gms ampl raw gams
steel3 LP 2 4 7 0 194828.57142857 gms ampl raw gams
steel4 LP 3 4 10 0 190071.42857143 gms ampl raw gams
steel4r NLP 3 4 10 0 190071.42857143 gms ampl raw gams
steelP NLP 34 73 217 0 1392175.00000000 gms ampl raw gams
steelT NLP 13 25 63 0 515033.00000000 gms ampl raw gams
steelT0 NLP 5 9 17 0 64240.00000000 gms ampl raw gams
steelT2 NLP 13 25 63 0 515033.00000000 gms ampl raw gams
steelT3 NLP 13 49 99 0 514521.71428571 gms ampl raw gams
steelp3a NLP 13 41 91 0 -2942556347.00000000 gms ampl raw gams
steelpl1 NLP 13 29 71 4 457218.06136588 gms ampl raw gams
steelpl2 NLP 13 29 71 4 -1644391.18523043 gms ampl raw gams
steelpl3 NLP 13 29 71 12 -293858132.96906300 gms ampl raw gams
steelpl4 NLP 13 29 71 4 1194250.00000000 gms ampl raw gams
steelpl5 NLP 13 29 71 12 706703.39449234 gms ampl raw gams
transp LP 11 22 64 0 196200.00000000 gms ampl raw gams
transp2 NLP 11 22 64 0 196200.00000000 gms ampl raw gams
transp3 LP 11 15 43 0 201700.00000000 gms ampl raw gams
transpl1 NLP 11 22 64 21 196200.00004977 gms ampl raw gams
transpl2 NLP 11 22 64 19 -9825202552.05501000 gms ampl raw gams