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

This version

0.2.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.2.0.tar.gz (2.9 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.2.0-cp36-cp36m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

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

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

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

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

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

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

Uploaded CPython 3.3mWindows x86-64

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

Uploaded CPython 3.3mWindows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

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

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

File details

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

File metadata

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

File hashes

Hashes for amplpy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 65c748e309b84ae9159a6f96799374afd4446b63954b86c52bf64ad2b70d2efe
MD5 7e03b338e552d72012d25af88637035b
BLAKE2b-256 e741406afa5b6829b76259377ad82e97bfff1c5970515e610b1b565eafbe8be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4ec332ac6fc2ffa4cb9e8acff1aa26ce764f48d0a90e11c09f66c4b79d5a86cf
MD5 8b905ba69d17bd00b1b31ac4849d99bc
BLAKE2b-256 289e1ac0c7ab30160bbb37fe818abcff38d1cc17924ca0848ce9957bb7e4392e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3aff8b18070b2701b1fc9eb81636aeec392c9bd8aaf086edb9c58f60f467def9
MD5 58ad16c6b1b360e16a276140f5b44640
BLAKE2b-256 28157803dcdc782d037495cc1261988def5482b99a7391db77b00ee3cc5a1ee2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b63db6560197f0eaf63d19e936aab2f7d7356489ec1a5e1b5457fa1b554d4316
MD5 cb500a2800323e068d30b8f7a395ea50
BLAKE2b-256 02e9916d7f9b3f88bdf22d421a8636f6b6c534f1c767713d8cf7bc72acc53c19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 326f7b8fece70ba99cc555e3391b813947c68783f1bc3abff014cfb585ff8ce8
MD5 a94b002b6e4508983326e59b76b08ef7
BLAKE2b-256 15d8069ce56837c2ed2b5d2c36ce51f2792e9ee94d10e9fbc390816022a6be66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6adab8cc166baffe52fa151308eafa59ab6d41d4b1dc38092215096a1b5f7835
MD5 6a088b13bd80cafc6438b0549155c23c
BLAKE2b-256 774043fcaebc58234a96d003163f71ff5296edbea6f43f7763c3704229483b8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6befe38340fafeb30b476ce1eea89727fc6a2547e806939be33ebcafb533eb0a
MD5 b9c15825e98784bdeff3014406b20be8
BLAKE2b-256 00138bed5d512443950e503e66e0b242958e88f4fdf00a1946c9e1665e4e4184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 86e356e8466a74fb25680ad9c77a4e10595034e59279890e3667e628262ae0a2
MD5 91f31a24295c2830515ba380f5e9486e
BLAKE2b-256 a7b77801a95c3640f95f40e61b134c561d1d1ff3176f23eb243f2ed56b228043

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bf6b92a5d94ff944802e7600eb814b0c6a6f34f70f63eacf87ace2a2f4a9d023
MD5 aa246837e80e53469a5273b13de0bb53
BLAKE2b-256 8f8060f57271c74f060b4a94b3aa46a8d79b2e33245f1f90df8bac8b0e981987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 571c85ffec97f72066977ee0e4b78e28b14003a7655df2b427be4a2ec57cc65e
MD5 c9926f6d9240af9689de5979f759897d
BLAKE2b-256 2cef2ba5db986c3ac7b3aaf3daba7f230ae449229be54b840a5709da01a38572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 444e5461e804d42726fea38691ffcdab2e304a6d7b590aaa4ada2a6dd63f0524
MD5 6efa57c5f6f25a811056279611fdb34d
BLAKE2b-256 191634e389d53357a759c1f75344a0b67d68fce0fefe521f90e028c55cd6c623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 5ca251c78b91eebeb70b1ccb19b314410301282d3203943afbc0d8fa4f10c308
MD5 f12b1499f71a451d34d36a706deff6b4
BLAKE2b-256 82ec7f1e57680d883c092cb1503dabfa382005c21366022e9b52c2139fcc2a95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 93d91a680841aa82f8de1b270a0144b0e549801fe27e65dc5898ac080af6d772
MD5 0b348374cb916f244543d1d9923f3532
BLAKE2b-256 fe64a1c73c6614c460eeda088727e4f073b550d2775a91f222175a13d0c50ffc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b63a31ca33d3a7280ce5a988ba1011f7738b8dc2836f8b6eef8d3d1d1245dc9f
MD5 1f9c2c736287989b46ea8275c2b782ec
BLAKE2b-256 20e79e1f819626f769bfc2323fe522ce0ce0532210b4fe0c982641b23943bf5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4304cbfa3fc95d0d60845c2556c7415b13222aa3d3e24fbe973e850a2105cec3
MD5 7896bcff0206488747aa18d8316c16b6
BLAKE2b-256 59ded5cc31c4f73a77509926f86c18283e6ccb2a4cc9f6d8dc81d3f8576d781b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8669880042bf40d35cf8d9c12c67254a84010ddbaddacbc17dc37b8c472ba8fc
MD5 f6fd3c72f9f6d8a4351bd6f4772b7848
BLAKE2b-256 2decbd55aca4170ec5d5116facfc33e154321406a1f29eb190a71bae0e21d343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 f1def3e46a65b40547a3c4b1f6c69d4eb96e265b7543f39ad7198b409aff21fd
MD5 7b08800b1bd794ff4edff530f16f58d7
BLAKE2b-256 73987b798ae3415ed98641896ccc0a6d2f85cf018752b0c29f4ca7e56d6e2933

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 f9e61a2073e664db3112a89b027454c523068887e69d9b6103390d8e8746bf94
MD5 a67e51898fde3cf5f080148b35d8f4ec
BLAKE2b-256 8caaf6c4ed5fbfd73c9e86be3d9b39b88d8f7dd71704795b04f29e0af2eddf83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2dad4c4dafdf0d796ad29ac312d99c20b01822a59280317309277f1cb5ea122f
MD5 f24c0119dba9b89bc8198344eb0da698
BLAKE2b-256 68f4b9a7006917fb16934febd93e63f06551a5aeeace89f8ee460f7af43a8b0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 24c5a11114bccccf4b18a310a6016b8e66dfd3c12ddb1ea4162b9d5b6b1c9f86
MD5 217b9e31fc3ac84aa9d0c7eb14d38a0f
BLAKE2b-256 45110a25707c4953a99f478182ac6e4edb09dcf6300cbd1e28d19bb14b6f6117

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7ada0e7620f25acb49d9abbaf48b34558905ae96440904b1ac1008617e638291
MD5 1134c082417ab881650bfd28c464d452
BLAKE2b-256 2f120fc84e78b786d24de6095718d101b3580d59de470ef512c149ced5ccf557

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8d801109293e2b632fa991a21986f6d249291deae004f15b6971b521455a0041
MD5 d7ef473cd6cf7e8c7fa858c1f8857c98
BLAKE2b-256 ce9836b0b4dce74bc9950850cb77e2a9288377474226aaa3c0ae9260f70e21bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 f82ff44ee27e2e6e3a15b7d08740a4898d46bf28eebb7bd0d4c651c75305d19c
MD5 5a7368cf8e1aa88908c3bdb7b6fcde39
BLAKE2b-256 944388c8957f4871e595b05f10aae85c6f23c5a7cea520e39bcd4b4238eda25c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 821e6ca6e24735932a2abf64ce891b3cca8d6d79e33420fc48afc4cb4b0b60d4
MD5 42452bfa55a730d4fb3a14d80edd0ba4
BLAKE2b-256 f5f951ebf38d479ec0bf49b3fa692d5069bedbcdd3989058d384c0d3aac06d3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 17bcf1218f65b837d4c8c3cac44870ddf619af4713d5123867c6cdd23ad00698
MD5 d84210eee0d6fa9b7dd05a3961fb20dc
BLAKE2b-256 6589edecd92eda941f5ec8e0e1e75b3c9e11115820fd520a0839ddda2e61057d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 467d8678d941334ff2403c2e8941a722e4ad30d688719ea8a8f143c3418c8d22
MD5 e6b5be9be56803f78e8d017e02918279
BLAKE2b-256 168d2cef4556dd3993f36704a46d98bd3b466f57e9cc0b554b0edd65d5b05685

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.2.0-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7132027711807836fbdc9b6e0f29c0e68adf69c7b0ca9e21d5d5a7a5a989bd9c
MD5 2fd7f7df43fa6382abaa267e8d66b664
BLAKE2b-256 d0bbad7352f17a0c6f3c3baabe0318839b136c5eee185bd15909273ac92445c3

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