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.4.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.4.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.4.0-cp36-cp36m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

amplpy-0.4.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.4.0-cp35-cp35m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

amplpy-0.4.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.4.0-cp34-cp34m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

amplpy-0.4.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.4.0-cp33-cp33m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.3mWindows x86-64

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

Uploaded CPython 3.3mWindows x86

amplpy-0.4.0-cp33-cp33m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.3m

amplpy-0.4.0-cp33-cp33m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.3m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

amplpy-0.4.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.4.0.tar.gz.

File metadata

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

File hashes

Hashes for amplpy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 14a06e99c46106ebd31d228da18517e5d11b3ee1a755f8b69acca1dfdebdf008
MD5 3863cf030e2ef311e3744288e4f3c216
BLAKE2b-256 352ae817d1ddc92fb6495cfc67e5c8f2283d2b895accbf2af6a941dd4e986c2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c3aec0d3d0a251da3c8be044fd7ee87958ca0dd689b25ed1c8bdf0ff43e3d361
MD5 285545943b3a3ee20b879ad9b1635986
BLAKE2b-256 db840d481fd7ecb897603d26f4902e838efecf60faa82c4ead09c39641cb99b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 779a069a60d532561b20ce690e0bcfa310327876ae9348d4ce8ed59705a3ab5c
MD5 f3ad80fd7acd03fa306e56423b0879be
BLAKE2b-256 1a440b834ba0bae6094517009fe941e23986a229cd5c2a9cb4db1eaf16c240d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1d78b791b39f4b7b702ab3eada7641a7351f5baa32441a5def2144968afaa7da
MD5 c91f569c127adffa0fce59d2a2eeb5e2
BLAKE2b-256 a591e4ca7cb86eb44dcee4397339f7d976e63f7b5e33dec9f41e61906ae086c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 aa0879d43b780a5d3e35ccdaa5ca6c2424e71441072e5fca00c4f8954eb7114a
MD5 fddd2a78cbc19032666a068ee5040fae
BLAKE2b-256 9dc92ebe96ea8a07968f7ace24cbf6b6fc36506971c71fd1c484a804ad70c19a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 3f2a2921d747c201a0f05f81b0a003bbc25c4a51290ac9c9d2bfd42f25c4ee1e
MD5 2721ace06a20f30a160fb61cbe5a2186
BLAKE2b-256 ce142b6f3d93bc587be4971b079f8e803eaa0d35d5b006e8f5409c6d332c6631

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b25b0f38dc33306b3f230d1bc4bc303384649a553268cab21b1c32f81a62f342
MD5 34af9518f0c4a985c85729a45333a8cc
BLAKE2b-256 e2805969a6dd2dd9b08e33ae776fa91274279c34c0cf4a320f9e09f0c970d5d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 65498da5d58d7fdb71c2da50ff51ceb9d4118ebc8d50afc079fda42f5f995a2a
MD5 0a27a514534a9b6f37158c2d6573a82a
BLAKE2b-256 fad7c121286da3fce5a686670e74531d834a5906955727683ca6ee3ba5f7f025

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e0665a279081977a9e1c5614a1d86da97a214b93de4e01b9c8300a2424568a3e
MD5 5b4bc8c6ad66fc64afce77d7d6b11059
BLAKE2b-256 86aa05336123fe4320a42f5d59208d085808700819d72ab9c50b1b12ecaf8514

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e457c0a8fc21bece47c7d52128447638206579c67263edf5a821fc777f8133cd
MD5 2da1bef48cd9e1372025cc1e01c4f83c
BLAKE2b-256 6a9c14550763b9c8170bdc00c74b9ed054ea8078c30ef78c7fa35418fc551a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 77b12455fd86ad8899c14c3f2e8d885a15ef859a7d3e0764f88f820e7d18b41f
MD5 128ab16a80211654e60316a00bcf40ef
BLAKE2b-256 ac32d2fe256f672bbc8a9feed46403cf572543a48382c6aa16c2e5352f8db1c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 03232eca975e7e171093c88a1d6db610d14a33a2731f9e54d6a5345b4d24bf6b
MD5 a42644437a31b319cd18a53cbb92a076
BLAKE2b-256 8eea55ff8ccf28d2796bd6547e5322c27018aa1d340c523324d20b2f21012282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 4668ab2cf8a3fca3b47f31ecc3d81771b33a822e920114adfb4c99ad285a9f79
MD5 0232fb7d0f5f2d37a4ddcf9edfd15a5c
BLAKE2b-256 c03c84c4a51cc5180e54d8b9622138cab432936031445589ed7f6997ac2a78e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3047a75da6e774ed10fd501537febe7ce7a8fa6415dc7bff3cac64588479834d
MD5 cdeec3164f521afb64f2193b92d45df6
BLAKE2b-256 a822ff259b16fa3c69a507a00cafd78d79bb60deef6e06d2bb2b7f9c391b5b52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7bd4a392eecaba7ee9d75faf80da4beb3bdb3de764b8014502c23b1deeaec642
MD5 8b1fbc623d7fb0f512e0ba2e9c4e18b9
BLAKE2b-256 e9b4a272b6200b700d59993a969bec6fc4a627ce4d0aa23857a042a580f5697e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e5aeeff10841004cc5b118ba23154f95496d1235415bc83b0d348d17b0aa6c94
MD5 c2d8c5250a372d3ddf1ee56e55897e69
BLAKE2b-256 d806624406c5a0d99550eb374d39340235b087cd68a2196fde93d61a2aa4227a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 1e30d1f72aef0cd12ecba69087c0b492b5bf833bee8c01e279836965d18bb105
MD5 be308ea9e3081ee381d9d8c770bcbdfe
BLAKE2b-256 61436c2318a8484d243202eb06d9918b20b09d56499767145bbea4e78bcba3ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 bb36b85a737828e6200c7d6dc367a2c2ddb9e82b298255e0892a14703ec0e1d2
MD5 ef93047dea84277f34c6c8c1566aaadf
BLAKE2b-256 1319dbffab390c948c08b80bb1263caeb0a6ffb2188d10cc082112f85633b6c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 046d7f7747db8026f9d0c87baa3e2da777197177d542617d52867eff7cf50284
MD5 285fd7f5e204514c9ea18b2e2a35644a
BLAKE2b-256 b550823dd948d0b0dba22e640336b12ab41866fe1cdb96de005fab4818d39fab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6ab036b8837fe1ebe2e94bd88cf8787ae7bd5915356fdef47439c3f40860b445
MD5 697e9b9c1aa0dcd5b89f041e6d7c0c99
BLAKE2b-256 deaee66b73f991fd57fa023c3932ce190ff58fc45bb1d5b30de85a7647547fbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6ff7b9e8d649754ce5a3a4dbde534d1ecab32013d9395b712c6a369a55e5e2a4
MD5 8d78fb2931f2f3f0961527231ff28c7f
BLAKE2b-256 a90108ff7a9dd14ac70556dd46aec2e8099a915f3b179034ec9b07d9508f5375

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 33a515176bf1643db418d27ab8fbff306629b5ff206fe3388af8dce3e5c054cf
MD5 6591e436e9b7c236d8ad3c73018083b3
BLAKE2b-256 c30d4ad3e61a66f4cfa28445b75dc5035e72ffcbc95b5aaf6bf16f96a1f0ba03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 5d06832d0f2027947397831f3c7e02669412d8cd79473188d3462a87d59b6d23
MD5 1af2906e207aefd5e0cb847e9c4a7f5f
BLAKE2b-256 34724483730e29d4c47a68459ceb416b6c5f6807b54a727de7bcd7241b8dff66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 92ff270197d614e0fef9d731a88ff65f5f1c9a27436ca233ee2a00bad21f49a4
MD5 fa14170a4117ce3e33eb43e36438cd96
BLAKE2b-256 e0ee099a1e4797dd4a7a3b1f384456065cdfeda7e34987ac9b529cdc90ab9c81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 204ea67e260ce66fc99930f4af9c2fb3dacd4e28b6d558e52afd05cd8d1cacd4
MD5 b782f172806e15510446eb5b13d9be42
BLAKE2b-256 00249ea4b94592e0eb965cb96856ff22c0c913dbb7d7a958a90600f08eb5d68a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5a66d6f8625648b19aece34e3967d380c06f1dd893b3a62ee737ad6fdaf7467f
MD5 0f495ce26e96262ee45c653ef2eb66da
BLAKE2b-256 b78c7290d1f8d33aee5c6852577307fa0a46ad88849a3fbc7d4e65ce88387052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.4.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 171d02a1024eaca2ed6c13ff8bcb19fd25acdb05c65e2f3406b356e7ccfdea7a
MD5 9d8ec6d6dbde31afaa1e35c1d94ba53f
BLAKE2b-256 3cd41f59e224bcd53c21fcbe931d482ee14b7a235070b41dc53aa3ee9db9cbd0

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