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: http://ampl.com/api/nightly/python/

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

Uploaded Source

Built Distributions

amplpy-0.1.1-cp36-cp36m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

amplpy-0.1.1-cp36-cp36m-win32.whl (3.1 MB view details)

Uploaded CPython 3.6m Windows x86

amplpy-0.1.1-cp36-cp36m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.6m

amplpy-0.1.1-cp36-cp36m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.6m

amplpy-0.1.1-cp36-cp36m-macosx_10_6_intel.whl (3.9 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

amplpy-0.1.1-cp35-cp35m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.5m Windows x86-64

amplpy-0.1.1-cp35-cp35m-win32.whl (3.1 MB view details)

Uploaded CPython 3.5m Windows x86

amplpy-0.1.1-cp35-cp35m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.5m

amplpy-0.1.1-cp35-cp35m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.5m

amplpy-0.1.1-cp35-cp35m-macosx_10_6_intel.whl (3.9 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

amplpy-0.1.1-cp34-cp34m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.4m Windows x86-64

amplpy-0.1.1-cp34-cp34m-win32.whl (3.2 MB view details)

Uploaded CPython 3.4m Windows x86

amplpy-0.1.1-cp34-cp34m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.4m

amplpy-0.1.1-cp34-cp34m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.4m

amplpy-0.1.1-cp34-cp34m-macosx_10_6_intel.whl (3.9 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

amplpy-0.1.1-cp33-cp33m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.3m Windows x86-64

amplpy-0.1.1-cp33-cp33m-win32.whl (3.2 MB view details)

Uploaded CPython 3.3m Windows x86

amplpy-0.1.1-cp33-cp33m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.3m

amplpy-0.1.1-cp33-cp33m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.3m

amplpy-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 2.7mu

amplpy-0.1.1-cp27-cp27mu-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 2.7mu

amplpy-0.1.1-cp27-cp27m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 2.7m Windows x86-64

amplpy-0.1.1-cp27-cp27m-win32.whl (3.2 MB view details)

Uploaded CPython 2.7m Windows x86

amplpy-0.1.1-cp27-cp27m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 2.7m

amplpy-0.1.1-cp27-cp27m-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 2.7m

amplpy-0.1.1-cp27-cp27m-macosx_10_6_intel.whl (3.9 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

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

File metadata

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

File hashes

Hashes for amplpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dcf03fd58a90691a96db951ba73917fcc08c73c42f9d8f7d90d847cd33831021
MD5 838e2f4d5d2906e8433015df4c357a05
BLAKE2b-256 1c4f4da10b0b60139aa2de5d63b1082d1b277255b911691184d5e0642ab48d10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3433e9b4124bedafbb673431c89facd9cb3619af7fa04bfa3fbba5f33cbdd573
MD5 7d820a77ed1daec7265a2d76a9e51770
BLAKE2b-256 23372d55fb0d6823e10bff6d8e87897fa7ce76a4cb7de1e74e36095d3a3ba901

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9be883a3e9a544dba6d57e96f9874cad52ffc364a22d251d8119c5c8ec28b97d
MD5 73cdd06247974cd60e35db1505d23d43
BLAKE2b-256 0e861a05cfaad2f601f88fe61845d19a0c6178af531babaf4e436fb10e900dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d3fc873eaa1c9037560b35c8209ec318451c09524f58eb414926a59ff66feba2
MD5 0bdd71dddf548093d6f6271e702bc101
BLAKE2b-256 d7a15518ee43b884547eec9010e50ab7f8cc9e0c4bb595606893aed86ad06400

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 876d5f6a5e7a8c5480f2ca62b89cee455371f3bc14f4096e5f2ed8ceb15dfabd
MD5 ccbb41b055b0ffdd16a874336c3658fe
BLAKE2b-256 6f6022a3725856d83a57b5acea1e22883eff05711dc68f3bbd8f5692a3c3f393

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b4ff557c1c872f850dc5c77885f6a40139b32c16bb3d43022fdb9ebdcd6072c7
MD5 2d1d97cfeb89044edfc46d7630f58cd1
BLAKE2b-256 354cec0cf68f094e807953b0a540e0c5cf8d4c4c589e14bcedb3e6fb6375e1c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 248999c924ecfb5d14b545ae1caff05fa8fe228113ea89155efb37461607a92a
MD5 be3615bfd46ed39d8b10f30a518a2c98
BLAKE2b-256 41aaf0eae822c8a97eb1b71424f6802ac244b9279697810e31a24ce8713076fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 c6149fcda7fcdff98a62c79a9922044c329d91ffc80884cd6e1454d8786b813c
MD5 9a02c51313d7543d897f91572af6cf81
BLAKE2b-256 7d03f1dfa8ed63ca9012f1aea5804c56aa526b77dad79d7cd879a68bdd3427ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d98dbac8b3fa1821c40ac73b59c9f49ddfbf9fb54258a51ea42ae03e09e85f52
MD5 9dab4b967de980d2006ebaa8c9700b05
BLAKE2b-256 73b22461087f00be6c87042e54f71e9bda1b2190da225d728fd18bcee01b58b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5453228a6eefc697ec6a535fcacba9083391a7c67aec158b9a9d3e174e5ea089
MD5 e32109b3eaac591573e551cb41a1133e
BLAKE2b-256 210e78485516dfa8a09a6a412602f7d784689c8c1413d36a820c09990f444d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d120070355cf7896896af1e6eba9edd67af70eeb73b146e5e2fe430eee5eef82
MD5 9a3070afbcb24b27a15fbf4b415cf506
BLAKE2b-256 b7306b99afdd64c30967d66b0fba4a9364cb02e2d75781de24e3142d1d6a7b94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 4e5814eecd541d5f9b7b48da714db6c38e567b3b852e445d58abb17659f225a7
MD5 afab2003dfcc36588501e890765ff42d
BLAKE2b-256 456c75fa6e5ef10c8fadebcf96faf91c9c4d2625b57fadeef16df72c9c374ded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 14554476e7e0ff8c6091973d87021bd0155a537d4c247442084739cc527415c2
MD5 2ef33f5bc7d4dd6d3e940708c7686207
BLAKE2b-256 49d70cf2e73ff68816fdf7d57c4adab1a445ff66c18aef79e1b8f844b63ecfdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5bad64bec81aa13c5ba2bb6cfa884eaf37c5b2560a0921f3c8f035d53ca9c0f1
MD5 431f5decfdbdf1669f844cd7803f0917
BLAKE2b-256 a73ec0042e79cfa89f3d8c63575b54853e975c86f4e8fa28039153f2f8ce01c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2cc25fb55c2ce65fa89e48c5b4c52e3d9ebfb7df38d8f5600f85909492c43ced
MD5 a438e503863e655c7fbba743c9849e0e
BLAKE2b-256 c227102e48047044a18e658f4850ccdbc5d8aa7fe16a662219398b2bf20b09b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 075b6efb1f5edb6df1766e61e0826bb1abb0d682baad0b47c5f86c3358c403d1
MD5 9391e8985cdabffbfd5108e7cb573281
BLAKE2b-256 330d3468fe82ea7ec216832816973edce5ecd587224df59b35f25d421e0e8180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 4541905d5ad183ec482d86f342206e31ebd1d86676a42f3880556bd71b4d018d
MD5 9f6ed7574dcaf01bea284fcb538d1562
BLAKE2b-256 8bcc8fc649b3d189c44cf72eea6dc52bcd4efd9f29eba066360211aa17effb88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 3b673d92c378deaff492d34ef9d884d2464163e5a2591934973a2f9d79c8ad26
MD5 eafdf0a4b8a891940fe9b55282c7e1f9
BLAKE2b-256 3de068d5fae72dddf97022b5664b02e0e2b717d4d90b82016b98919ad0ebf6b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b617ba16472831c8c7698f753ba1a3e480dd790694745f9d824acf6977196a4a
MD5 ecebf5d9c1ede9f890b12d5b2fa93697
BLAKE2b-256 6ab05ccec1739093c271561634fd89086d2398096be800eb2b45a9b19b427334

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d467b6cf515d807b8fdb937fa00217cbecdee842d9192358b92d5b8ff3c991f1
MD5 565711c83d3795c0f085ccfc660aa475
BLAKE2b-256 6365af687c12718de9b8a668080559dac48cc31664354d045ca051d5f51708d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 88be6e717af3663cdf22e8616800f479dda8d5d49389a17436a172b1f25f46e6
MD5 9404320cd67515f059c07c6098487a5e
BLAKE2b-256 9914373da976407ef0709a355be69acaaa405f6c18b95c55e37bf257748e0d82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ad0a8506bad209e979a751f6fd81bb76db0cf4b7c1d8a16c0363678d1bc721da
MD5 47435eae9efd40011069c59a050192cf
BLAKE2b-256 c1d87acf0f6ff6f63557605dbbd92e1ff4b218e2674884e409c76be563cc3b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 735b689508a48e602030c162b1bb78bb20ff210f5b613555cfb20cead8efa676
MD5 92617c67fa10915499a7089b7d0e1da6
BLAKE2b-256 29f2ce56aa30c48f9127acec590beb91a6058fdf4d97c1d72a63721eec1d32d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 e8b37be9e02ace74a2a609d205da8171aca54a06a53b97dfe12caa8f14e47047
MD5 2135e1fdb776a7590c1b91cf3b37ba44
BLAKE2b-256 cfcc7eec0c9de0702c12f634e883a8c1e3a5711db50a887ccd2fdcdf63066e7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fa86ec944d4dbae5b3df4a1a73f4790c78e0457fe9d9f794fbdcbdfbc170d404
MD5 328eef681f4486ebedb25e2de584407d
BLAKE2b-256 3963538963e444f70c6ef8e77393585dbbe54e044493a6e3f0fb182fa4f13c08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac94771cdf4422f7918658876e78071388b64de588783db9d1d4eb97925833fb
MD5 a3a6e66479f4e60e318ae7cebf12224a
BLAKE2b-256 4a34892d8eb8757d9d52263cb789ac1f358a6a8eabf2bae0eca46c2cf2dc4cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 a43b27bf92fdca6234d586cea035a580c3ccce414074e13185dc53d61eedf39a
MD5 d51fede6826fe8b5fa60779e98dd2fef
BLAKE2b-256 1abc421dcfca5dd94c6609e3f373045426364981ecfc08f6924c9568c2bce3e7

See more details on using hashes here.

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