AMPL, an acronym for "A Mathematical Programming Language", is an algebraic modeling language for describing and solving highcomplexity problems for largescale mathematical computation (i.e. largescale optimization and schedulingtype problems) [1]. It was developed by Robert Fourer, David Gay and Brian Kernighan at Bell Laboratories. AMPL does not solve problems directly; instead, it calls appropriate external solvers (such as CPLEX, FortMP, MINOS, IPOPT, SNOPT, KNITRO, and so on) to obtain solutions. Problems are passed to solvers as nl files. One particular advantage of AMPL is the similarity of its syntax to the mathematical notation of optimization problems. This allows for a very concise and readable definition of problems in the domain of optimization. Many modern solvers available on the NEOS [2] server hosted at the Argonne National Laboratory accept AMPL input. According to the NEOS statistics AMPL is the most popular format for representing mathematical programming problems.
AMPL is available for many popular 32 and 64bit platforms including Linux, Mac OS X and Windows. It is a proprietary software currently maintained by AMPL Optimization LLC. However there exist several online services [2] [3] providing free modeling and solving facilities using AMPL. Also a free student version with limited functionality is available [4]. Optimization problems supported AMPL handles a wide range of problem types, among them: * Linear programming
A transportation problem from George Dantzig is used to provide a sample AMPL model. This problem finds the least cost shipping schedule that meets requirements at markets and supplies at factories. Dantzig, G B, Chapter 3.3. In Linear Programming and Extensions. Princeton University Press, Princeton, New Jersey, 1963. set Plants; # Capacity of plant p in cases # Demand at market m in cases # Distance in thousands of miles # Freight in dollars per case per thousand miles # Transport cost in thousands of dollars per case # Shipment quantities in cases # Total transportation costs in thousands of dollars # Observe supply limit at plant p # Satisfy demand at market m data; set Plants := seattle sandiego; param Capacity := param Demand := param Distance : newyork chicago topeka := param Freight := 90;
1. ^ Fourer, Robert; David M. Gay, Brian W. Kernighan (2002). AMPL: A Modeling Language for Mathematical Programming. Duxbury Press. ISBN 9780534388096.
* APMonitor
* AMPL home page Retrieved from "http://en.wikipedia.org/"

