Skip to main content

Python API for AMPL

Project description

AMPL API is an interface that allows developers to access the features of the AMPL interpreter from within a programming language. All model generation and solver interaction is handled directly by AMPL, which leads to great stability and speed; the library just acts as an intermediary, and the added overhead (in terms of memory and CPU usage) depends mostly on how much data is read back from AMPL, the size of the model as such is irrelevant. Functions for directly assigning data to AMPL parameters and sets are provided, which can be used instead of the normal AMPL data reading procedures. AMPL API has been written with usability in mind, and it is easy to access its functionalities from C++, Java, C#, MATLAB and Python.

The AMPL API can function as an add-on to any existing AMPL installation. If you do not yet have an AMPL installation on the computer where you will be working with the API, see our demo page or trial page to download a working version that can be installed quickly.

Documentation:

Repositories:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amplpy-0.3.3.tar.gz (8.6 MB view hashes)

Uploaded Source

Built Distributions

amplpy-0.3.3-cp36-cp36m-win_amd64.whl (9.1 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

amplpy-0.3.3-cp36-cp36m-win32.whl (9.0 MB view hashes)

Uploaded CPython 3.6m Windows x86

amplpy-0.3.3-cp36-cp36m-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 3.6m

amplpy-0.3.3-cp36-cp36m-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 3.6m

amplpy-0.3.3-cp36-cp36m-macosx_10_6_intel.whl (9.8 MB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

amplpy-0.3.3-cp35-cp35m-win_amd64.whl (9.1 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

amplpy-0.3.3-cp35-cp35m-win32.whl (9.0 MB view hashes)

Uploaded CPython 3.5m Windows x86

amplpy-0.3.3-cp35-cp35m-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 3.5m

amplpy-0.3.3-cp35-cp35m-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 3.5m

amplpy-0.3.3-cp35-cp35m-macosx_10_6_intel.whl (9.8 MB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

amplpy-0.3.3-cp34-cp34m-win_amd64.whl (9.1 MB view hashes)

Uploaded CPython 3.4m Windows x86-64

amplpy-0.3.3-cp34-cp34m-win32.whl (9.0 MB view hashes)

Uploaded CPython 3.4m Windows x86

amplpy-0.3.3-cp34-cp34m-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 3.4m

amplpy-0.3.3-cp34-cp34m-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 3.4m

amplpy-0.3.3-cp34-cp34m-macosx_10_6_intel.whl (9.8 MB view hashes)

Uploaded CPython 3.4m macOS 10.6+ intel

amplpy-0.3.3-cp33-cp33m-win_amd64.whl (9.1 MB view hashes)

Uploaded CPython 3.3m Windows x86-64

amplpy-0.3.3-cp33-cp33m-win32.whl (9.0 MB view hashes)

Uploaded CPython 3.3m Windows x86

amplpy-0.3.3-cp33-cp33m-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 3.3m

amplpy-0.3.3-cp33-cp33m-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 3.3m

amplpy-0.3.3-cp27-cp27mu-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 2.7mu

amplpy-0.3.3-cp27-cp27mu-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 2.7mu

amplpy-0.3.3-cp27-cp27m-win_amd64.whl (9.1 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

amplpy-0.3.3-cp27-cp27m-win32.whl (9.0 MB view hashes)

Uploaded CPython 2.7m Windows x86

amplpy-0.3.3-cp27-cp27m-manylinux1_x86_64.whl (11.3 MB view hashes)

Uploaded CPython 2.7m

amplpy-0.3.3-cp27-cp27m-manylinux1_i686.whl (11.4 MB view hashes)

Uploaded CPython 2.7m

amplpy-0.3.3-cp27-cp27m-macosx_10_6_intel.whl (9.8 MB view hashes)

Uploaded CPython 2.7m macOS 10.6+ intel

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page