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


Release history Release notifications | RSS feed

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.0.tar.gz (5.1 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.3.0-cp36-cp36m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

amplpy-0.3.0-cp36-cp36m-win32.whl (3.6 MB view details)

Uploaded CPython 3.6mWindows x86

amplpy-0.3.0-cp36-cp36m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.0-cp36-cp36m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.0-cp36-cp36m-macosx_10_6_intel.whl (4.4 MB view details)

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

amplpy-0.3.0-cp35-cp35m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.5mWindows x86-64

amplpy-0.3.0-cp35-cp35m-win32.whl (3.6 MB view details)

Uploaded CPython 3.5mWindows x86

amplpy-0.3.0-cp35-cp35m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.0-cp35-cp35m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.0-cp35-cp35m-macosx_10_6_intel.whl (4.4 MB view details)

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

amplpy-0.3.0-cp34-cp34m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.4mWindows x86-64

amplpy-0.3.0-cp34-cp34m-win32.whl (3.7 MB view details)

Uploaded CPython 3.4mWindows x86

amplpy-0.3.0-cp34-cp34m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.0-cp34-cp34m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.0-cp34-cp34m-macosx_10_6_intel.whl (4.4 MB view details)

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

amplpy-0.3.0-cp33-cp33m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.3mWindows x86-64

amplpy-0.3.0-cp33-cp33m-win32.whl (3.7 MB view details)

Uploaded CPython 3.3mWindows x86

amplpy-0.3.0-cp33-cp33m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.0-cp33-cp33m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.0-cp27-cp27mu-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.0-cp27-cp27m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 2.7mWindows x86-64

amplpy-0.3.0-cp27-cp27m-win32.whl (3.7 MB view details)

Uploaded CPython 2.7mWindows x86

amplpy-0.3.0-cp27-cp27m-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.0-cp27-cp27m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.0-cp27-cp27m-macosx_10_6_intel.whl (4.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for amplpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7d8d2489b059f7262889bec863c64425e68a49f69f1867ddb8cfe6624f05fde5
MD5 7fd650b95d25d65e10dc240282e5bef5
BLAKE2b-256 4519b346a0e2e7a7c76080af58afda08b89456e7cff6065d17e486128638d4d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ddd21c4c7c30a84f4f57a4071a497aa8c88a7255a28e9baa7b4e5ee5caa3f5bb
MD5 88783f1ec086345a2b4af6ecb5a9dd86
BLAKE2b-256 01af4e493523a2cfe5ddb15e86d167df805f697ea16c2b75db0a9a778f8613eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3f749bc0b8523c7745d1cffa14fa8ad09a71b96cdd22cfc665f2f4f5c2dfd386
MD5 82b940ec24d6a8ae430be0ff81589ad4
BLAKE2b-256 b12ae375dd32af08fcb420d79a94dd9d7487551e85ccee40a01201abe7f7f495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ddb1a8e2acc3a7e6872f72f9ea2c44f08c0da4971f990845f125ae185e048cae
MD5 197eb7b66839394d94d5916ec692a83c
BLAKE2b-256 f9f6933a3e705e4f74fae099436ceb751af6e808ae3919686c535b488a2b18da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9044d5af1a2c7529768425b99f427b843ed753583b00bbbf391b789c7ca14a8c
MD5 9ad9e2d3b5dea8bc93e04160b0284ca8
BLAKE2b-256 f0d9e2bead7fe1c1aa7543ffbba277aa0373eb2dcf14903c2dd5b5d1bd52fa6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 dc4c8956e745fb1f6fe4ebf2ab74ce7c3e8bd09c8c6bf13ab5a9dffa8dada630
MD5 12760a648b7ef5f4ad1be34fc8cebbd7
BLAKE2b-256 03265b1c8aa719a7b2a29624f8e6e3946f35cb8c052d4fa23b6ddfd734841971

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 f4228f31b49dba18ae769dae17513bc58411f21455565517c01afd7618a11106
MD5 820fbce0e4471357f5486652f41f378a
BLAKE2b-256 693f8b753830a62a209188048a5192d3c1175ea14731b784122606954cd16204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 2247338acfd2f5217c7ba444d163bddb9a0426ab78244cc08571793a437c36f3
MD5 94d723628ab9e6f66cccc07815d1ebd1
BLAKE2b-256 8b94c582ebf62bd09bbb3d4a6cc0c801e5dd7535686a64bc0c26373b3d4025d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 62fc42340b85bf3900ceb104407da1a35b7c039ce9f71a6df256b09b51bcc2be
MD5 c0f1d435f166ed7cbff8ba1825b0be70
BLAKE2b-256 eea68fd4d540547a69dd1c494666529d135cfff942f517fa3b3012135aae055e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d0a6112239f3e987f7c9762ddeb9a7666a9516b28b6dc11405d70648260eb050
MD5 5de3317fc8c6057946ff3e42de22b55c
BLAKE2b-256 238e05df0feb956cb246730f18fcd6f2e7fa478488fed56e0db82362b2723bf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f7fc5bc0dd210d968b1d621bf9a33c7be7e3d30ef10a1dcd4479dd51eb66eaa0
MD5 b937a58bbf90c2c3867d04834dc79cff
BLAKE2b-256 05bbb725f6c7157cf764135ad0b5553c5e770acaa0a816e0a24b09f85e366d41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f089e07cde7ef0fcd55c97401be5e061e91e11819742c61a502e19fadb772e5f
MD5 d3b6f0a9856001fec3218bb0e7d81044
BLAKE2b-256 76c56020d2f70d1b6f39dbc9bff6e97b6f464c89307bc2c8b1537287e37f839a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 e95bf53d346fff0d9122b2a8309249651a3c034a0ad49712564695e9725d8e28
MD5 f66a5325bec7759646d4b12259e8fd53
BLAKE2b-256 733074f204e738af4d64752efa91f9a08faf0ed3c30647325d17f4fe966252ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5e42cf0942f3366e51db49753b5c65ee6cac1aecdec2171cb8da85ef84bdee95
MD5 08ed62bd3e156bd8785e3b044a26633a
BLAKE2b-256 f7af421cbc41578fc257eab139405afa7bce332a935bc6f0e4ad2f8df1eec001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f2e60609328e048bd9159e4cbe8efc0d2613d992a42d908e3749d1f29c74f7d0
MD5 df92b1971f7902b90fe5b64779d0c12d
BLAKE2b-256 39bebd7471fd5e70705d2a34a408f386f5c1e0ceb49161992f5a2fe01d747240

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4a1bf6acef1e86d5b6ee7912f0e700a2aa37a211b39f36d0f44df8a0b191c406
MD5 5ea756b60eddb40ce69a8e23ed7eed30
BLAKE2b-256 1d30d1ba3c47f0c7e517274b3e23f480b6be88a269bf7d7ed480e433c3e6a0ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 bf5f1d774885bd68198a7a827b5ec62403a8357b0199ed62dfb71c1cee2bd0ec
MD5 d33fae8a5bfb84983b2ea9bee616c108
BLAKE2b-256 47b6d04244661d880bb56e5522cfbe1b0cd45e9d6fe899fc3f5719252034050f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 c823abb0a6bcbb5ef8da45d474b7c2f4015f96bfc84f290185308e75bb205664
MD5 13dfd3b072fbf1fbb742621d1f544e63
BLAKE2b-256 b23a2dd2baf6c1fca931c40736dee7c33795bd652a5b66b83939cba112d0069a

See more details on using hashes here.

File details

Details for the file amplpy-0.3.0-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6c87231ed8d013a4e1b79c7b63e7c506be8468b766fd3d540061732fb1048110
MD5 9b8ee6895439d2919c4cffdcb21e706e
BLAKE2b-256 6f8106f3864895a2ac2a52d97050ddc7669d2b112b17971445cc226f821d4dc3

See more details on using hashes here.

File details

Details for the file amplpy-0.3.0-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1d01fc08973c6c68278271b8d14ea0aa9054f9cc3c0f9074c20751445e5fd874
MD5 838dfaba8e6615d977230e7d3ee909f7
BLAKE2b-256 bd10a949939b02e43a60854a1d81a7aea5135c519352c304b68a0f8023a3af31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 569477fc260f110f53c1765c13651c5e730790e1a20bd8178b9d4ca0c5f1fee8
MD5 3c305588767494bc56d41632ad8921eb
BLAKE2b-256 1ef72fe7b791c21d632a62cff8e81ce701888839894880eeada6bd1f0bf2ee09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 690abceda2f363b9a555349e20bd2049e874afdc2eb4348a39e8df1fbff24903
MD5 7fd8e993ead18ce14842205ebe4f23a9
BLAKE2b-256 bf37cebe71a9a3f6cb5ca11032631599667e3b8f198fccadd88841cc4cd439be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 48dcb798a4e655c30c2a9f40ab20aeef89d3e800f017561ac255b0ba773d7a64
MD5 120862ed7c393f1aef67d82732399848
BLAKE2b-256 5c7c6f7ed424138a72c6a27ea51da44d51f02f00b626871086dd118b60868334

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 3a1a7f0ab359d887130fcb200e63bf97cbab3e60692da368f5fe4b9e8992a55c
MD5 b2f4f722a817eb0b988782fcc7d8a475
BLAKE2b-256 d0ae43c50fd28581edd7c86332b820bc91e6f1126a9db840f402867b06430c45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2dba0cef83d43e38fb7fe4f1c0ddb96c7597230864571e76216ee9dee786273a
MD5 550ca29fdbf9c41bda209bf3e3a9eac3
BLAKE2b-256 70a5742dbeb1029c973059e6b91780a337b96da750fc27540210eb9c05073a81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6bd6b29c894d4c1f3b1f183d8d4db48807e7023aa8b16a8c8c898fe6e54617d8
MD5 4d80bf048ebdd0600fb36c0c5dbc251e
BLAKE2b-256 f317db5a452a78e0221bd51cc3bd956d4273883a92f4f7c1c3c380cf6ea65c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 fca1211fc1db629072c18bcac019e23ecf506fd20653433aa7eb570b719d44f6
MD5 39ec44e144ea3ecd9a3f93b3a974d742
BLAKE2b-256 e0671a1bee36cff53e468cdf6f94d296fd5187efa81e1be3f4e447d176ae5275

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