AMPL Shell

AMPLShell is an interactive shell-level modelling Environment. AMPL is a comprehensive, powerful and flexible algebraic modelling language. AMPL is used to create machine-readable formulation of the linear, non-linear and integer programming problems.

AMPLShell image

AMPL is based upon modern modelling principles and utilizes as advanced architecture providing flexibility most other modelling systems lack. AMPL has been used in many demanding mathematical programming modelling applications around the world.

AMPL allows modellers to create models with maximum productivity. By using AMPL’s natural algebraic notation, even a very large, complex model can often be stated in a concise, and understandable form. Since AMPL models are easy to understand, debug and modify, AMPL also makes maintaining models easy.

Key Features

Key Modelling environment features

Direct link to Solvers: AMPL Directly link to solvers through memory and support for multiple solvers including CPLEX and FortMP supplied by OptiRisk Systems.

AMPL can import both indexes and data directly from a database. After the model has been solved AMPL can also export the solution back to the database. Supported databases include Access, ODBC, Paradox, FoxPro, and Dbase for the Windows version and Oracle for the Motif version.

Direct Database Import and Export: Importing data from a variety of corporate database systems into optimisation models is frequently an essential requirement for optimisation projects. One of the advanced features of AMPL is the database connection option that directly links AMPL with relational databases and other data sources. This option enables the model developer to gather both indexes and data values from various data sources and import them directly into the model. After the model has been optimised, the solution output can be exported back into the database.

New looping and if-then-else commands can now be written to solve sequences of related problems, for sensitivity analysis and for decomposition or other iterative schemes.

Separation of model and data allows the AMPL models to be remain concise even as sets and data tables grow. Models may incorporate many kinds of conditions for validity of the data.

Extensive on-line help supports Windows context sensitive help for dialog boxes.

Interfaces to popular and sophisticated solvers including CONOPT, CPLEX, FortMP, LAMPS, LANCELOT, LOQO, LSGRG, MINOS, OSL, SNOPT, and XA.

Modelling Features

Broad support for sets and set operators AMPL models can use sets of pairs, triples, and longer tuples; collections of sets indexed over sets; unordered, ordered, and circular sets of objects; and sets of numbers.

General and natural syntax for arithmetic, logical, and conditional expressions; familiar conventions for summations and other iterated operators.

Nonlinear programming features such as initial primal and dual values, user-defined functions, fast automatic differentiation, and automatic elimination of "defined" variables.

Convenient alternative notations including node and arc declarations for network problems, a special syntax for piecewise-linear functions, and column wise specification of linear coefficients.

Platforms

Supporting platforms

  • MS Windows version: Windows 95, Windows NT, Windows 2000/XP
  • MSDOS: Standalone AMPL
  • Most variants of UNIX and Linux

This new release offers the highest performance of modelling languages on the market today.

Since we are constantly working on new releases of AMPL, please contact OptiRisk Systems for updated information.

Installation

From Downloads

Download AMPLShellSetup.exe and run the file in your computer. Follow the online instruction to complete the installation.

From CD

Insert the CD into the CD ROM Drive. The setup program will start automatically. Follow the online instructions to complete the installation.

If auto start didn’t work then double click the AMPLShellSetup.exe in the CD.

Example of Use

To see the AMPL Shell Example of Use please click here.