AMPL offers superior support by our development and technical support teams.
Contact us for general queries, partnerships, and more.
We can help you find the license and offering that works best for your situation.
AMPL offers superior support by our development and technical support teams.
Contact us for general queries, partnerships, and more.
We can help you find the license and offering that works best for your situation.
Sample model from the AMPL book
data;
param: ACT: cost :=
P1 2450
P1a 1290
P2 1850
P2a 3700
P2b 2150
P3 2200
P3c 2370
P4 2170 ;
param: PROD: demzero demrate :=
AA1 70000 500
AC1 80000 500
BC1 90000 500
BC2 70000 500
NA2 400000 500
NA3 800000 500 ;
param io (tr):
AA1 AC1 BC1 BC2 NA2 NA3 :=
P1 60 20 10 15 938 295
P1a 8 0 20 20 1180 770
P2 8 10 15 10 945 440
P2a 40 40 35 10 278 430
P2b 15 35 15 15 1182 315
P3 70 30 15 15 896 400
P3c 25 40 30 30 1029 370
P4 60 20 15 10 1397 450 ;