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, R 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


Release history Release notifications | RSS feed

This version

0.5.0

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.5.0.tar.gz (8.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

amplpy-0.5.0-cp36-cp36m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

amplpy-0.5.0-cp36-cp36m-win32.whl (9.0 MB view details)

Uploaded CPython 3.6mWindows x86

amplpy-0.5.0-cp36-cp36m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.6m

amplpy-0.5.0-cp36-cp36m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.6m

amplpy-0.5.0-cp36-cp36m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.5.0-cp35-cp35m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.5mWindows x86-64

amplpy-0.5.0-cp35-cp35m-win32.whl (9.0 MB view details)

Uploaded CPython 3.5mWindows x86

amplpy-0.5.0-cp35-cp35m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.5m

amplpy-0.5.0-cp35-cp35m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.5m

amplpy-0.5.0-cp35-cp35m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.5.0-cp34-cp34m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.4mWindows x86-64

amplpy-0.5.0-cp34-cp34m-win32.whl (9.0 MB view details)

Uploaded CPython 3.4mWindows x86

amplpy-0.5.0-cp34-cp34m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.4m

amplpy-0.5.0-cp34-cp34m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.4m

amplpy-0.5.0-cp34-cp34m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.5.0-cp33-cp33m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.3mWindows x86-64

amplpy-0.5.0-cp33-cp33m-win32.whl (9.0 MB view details)

Uploaded CPython 3.3mWindows x86

amplpy-0.5.0-cp27-cp27mu-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 2.7mu

amplpy-0.5.0-cp27-cp27mu-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 2.7mu

amplpy-0.5.0-cp27-cp27m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 2.7mWindows x86-64

amplpy-0.5.0-cp27-cp27m-win32.whl (9.0 MB view details)

Uploaded CPython 2.7mWindows x86

amplpy-0.5.0-cp27-cp27m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 2.7m

amplpy-0.5.0-cp27-cp27m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 2.7m

amplpy-0.5.0-cp27-cp27m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file amplpy-0.5.0.tar.gz.

File metadata

  • Download URL: amplpy-0.5.0.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for amplpy-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7e4e2ee843cfa5c87da1cab6b4611274ec2465e9c72f4a3e5aae3868fe57e0d1
MD5 47f125d91177b6084cfdd3132b748d1b
BLAKE2b-256 1c12a8479902a55bfa7230c859c84520b6bbea80c273114a2be457b66e8fd377

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c4fe175e8ec98ee8d12042c6392b12d990bf6c6bf433aa71a9827978eefa151b
MD5 02e172a66e651ef3d55c36636a51b060
BLAKE2b-256 6ae0663cc65ace4c71b1c1dc65b59d4e312b7a47415088c892faa32a9d95d706

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 99170791f39e6b0e3cc7ffa35e1dc42047e44a995cba47fcf634af3c00117883
MD5 5b34c375f388db73d4fd86219987367a
BLAKE2b-256 d860c24e68c4500f2f6274aed59a9ea17352ed771dabb62b3b080481b7033c29

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 97e89b8d65d3211eda99f64d53a0537747e644e4bc913dbb1b0fb5f2608e18d5
MD5 36a61a35453fb5695110c9337f3e353f
BLAKE2b-256 63a0865d57df565d0c5adcdca7cd24a29f58fce4089491b6237cccf50b645d08

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 40e6422210d43cfa206e35c76c3449a5c668f6426d73be7e6ab9fd7fa96a8547
MD5 dcad9f4f8495de3ef914a500fd66f3d0
BLAKE2b-256 7675ebfb8ee1ef2693306dfec086d0c9cdda946775e73624ea6b1599ba854aae

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e8fe67307253ef98d7e21795f5a39bb973e5c88d1805834ba9daf948254500c6
MD5 138c286ceb4cd25a177e4e1d2913b46c
BLAKE2b-256 17bc014a72d28e7881395bebff65eeec53ea583f6f5048e3893218c9bca62fd1

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 39dcc409de8f093a3306ec021c7b4d19e8b0e1eadb96b742f881b725f00bcbe0
MD5 0d9447de1ce11b35e5379cc255ecc054
BLAKE2b-256 c43df0e4d2442235677200219ef686935c89367176809b19454b2a51b9e873c4

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 32c63ae719a84bd1be844ebcc76eb783fa4f382dbd305b6f8e0b1240ff9e7b41
MD5 b6d5399367d6d0ca6c610ff9bd854540
BLAKE2b-256 120c8de95e3054857a207ff3df835f9e5abe0e7c88207df7b4372ca513bb9bc4

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4bcda1abce5d9026ba555cd07378c7ab5a4101488d82c5074d37bf85ab1e0d1e
MD5 1f9ea36afa8e31f58ce21611522534e5
BLAKE2b-256 48648a0a17ed0effa8e7dd219a38a57bc5454c74844c94201fffe589d9b927d3

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6f20a2e1ed9affa361662c28cc0a28252467afcb4abbb561b95d30543bd0e560
MD5 b994a8f2b0870445f09c2306454a919f
BLAKE2b-256 046e9571def6592c4282c7dd8e4c1c18f2b137d115068c4c4009569605979dd3

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 20d27e2d1dfb15ad89e51b7ea936b5355499ab27fa122e32d46282b7b750186a
MD5 2ec273c586df2bc422270c8297e13fde
BLAKE2b-256 46ae26118d5a13016aeb869ee8b1c4857b4660f6123b60b9d09e0c6365709379

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 d9c195fb3eb2a19b33ece54af823e387f51f757c6086d2ec7813b57137fe6fc2
MD5 58ea77cb4beca8cea382f26525f570c9
BLAKE2b-256 c8897698ce9ed5880ef3563ad877af995acea32c6fc0acc8359b08c764f3a5c7

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 0fb3a7698dffc5abc5654ac5f12fa741dc68954878148c639ca047437d395618
MD5 b73b8dd68258660274fc34e86fe54cf7
BLAKE2b-256 0c4e5ae261e1c79d28f316aba04a16928a15e16cd93d36d3602f4828de96eba0

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9d185577b5ed778c9d7bcf622a3ef9ca21b4f11a60e2fcf97043c8d73c1aa384
MD5 1d7a21c0ab9b17ad0454849303ff60c4
BLAKE2b-256 ce2b54d5e3e49ca52e295a712e0a54273a36f2ca64d9f58dc53f90e39e439751

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f02cdcb1c42481d95a7d841ac0e85a2e9b90d92ff59a42682ff7df44986f2d8f
MD5 c420b6e7acf5f1c2cbd94d534f739f08
BLAKE2b-256 5dd45d5af01ee782930edfa777f39d0c997e89a1f53c1b372beb452c980dcbd4

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 154a5e32f18d01e1e243e933c58ba3f4d4cd96988a58f56c56f981edf7511421
MD5 ea3a1f5429b2a6d4b2f1ee3393cebada
BLAKE2b-256 a2eb9df3e023db1761a23cd60972d657710de2ee659a08c55cb176c7b5d7952d

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 5abe69d418e68c97d864412fc4cbe5810f4529d9f8adadd7b8571073555230b2
MD5 8190147036dd8ef15ab4888e52d49bf8
BLAKE2b-256 4c1a0b1beb479afe4e3072dfe2a08231a46d9b67388a47f963de2092ba71c975

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 bdb4ccb565c76d01ddf99b60f87bfb2dfca8e2def1f761e7258430690dcf552a
MD5 9b2038e730fe280ab346fb8a41e2c8ab
BLAKE2b-256 a963657697beae2d5bd4b3ecd21b4d2902bafbae8daa61bda2dc3aab79749ec0

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b5d8392afc9726d8813d00b8b1ccca312ad0748a20719723275c5250d2144388
MD5 e64fa0f1ccc108f7f44dc83e2018c3a1
BLAKE2b-256 050265369a07199cde8ef5292f7aa645cd6729854318e8e3165edcee6a98b7d8

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 dfe7ce6b8e9ee1733ef777a9df4d85c32fb1793d27d654d612538282556d0cad
MD5 678b2755c6281c40f6768c760d8da3de
BLAKE2b-256 7fd305b44eef079d310d4da8e18cf8fdc8c3708f3e54074ad508d15e973f229a

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 2ccf6109cee6576ce6cb9c0e62944e6ae5debc68f91781f329ad914b33c61bd0
MD5 4f23ce811e64e793ae7c85df3c6e18b9
BLAKE2b-256 5cd575194bf326ef31af35d269b8c4977ca4b7bfa6ef11ced794b56b6dd0952a

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 c5315c987ebe034e2302755873b66ddf59fc73da6754953f2851e84f316ca619
MD5 9bab8b788bea98935cef5b14e7c0a787
BLAKE2b-256 0de90a4dead445f9be57b21ea081397674bfa68d79166fe6b8adff536782edd9

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 13c3401d5bc9f3ca53664d1ea2bd7fc4cedc0ff7aa0aff0381814cf42d79ba90
MD5 f1f149b6a47e60375c98e26d30fd254a
BLAKE2b-256 65b32517cd5ff0fecc325da68ac6a71abd8321d0c811855632dd7f26dafa3054

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9d4f5fba9006ca04f43472f6b16fce3ca3077c793fb1dfb81f65ef03dd8d36f9
MD5 50cc636cb3d959650cf337fbb96642dc
BLAKE2b-256 f25c1c11927053d16e2d9787571835616d1ac5e4f8e502bacc91fac4bf24e8e1

See more details on using hashes here.

File details

Details for the file amplpy-0.5.0-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.5.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f86305005e64a9ed7be6e0fef335b88013000ef2420755b198567dcfcb5a67e6
MD5 affd9350c601a9a7ba491120744820ba
BLAKE2b-256 c24c0726de09f71644b2a16b2688666e42356ee3459ab1457e64593b4486da8a

See more details on using hashes here.

Supported by

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