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.1.2

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.2.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.1.2-cp36-cp36m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

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

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

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

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

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

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

Uploaded CPython 3.3mWindows x86-64

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

Uploaded CPython 3.3mWindows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

amplpy-0.1.2-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.1.2.tar.gz.

File metadata

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

File hashes

Hashes for amplpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8c86af638c00b854854fefa5965b4840fc1a211b9bda83ca6156337d616a27a7
MD5 2df9dd59dea8c17b5a4a39483ab01522
BLAKE2b-256 bf76b17d74357ff455079eb65917164bb3e6b1583b321a7c3e7596b32a9e60c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5dc7137232948cb5f14641850d383a15f058c876d455d5138778839806438672
MD5 1871ac28617c66c4d33e8a6179b97458
BLAKE2b-256 288503684b0b14ed03a3102303823c096f7df1fe5d1e190fbc170b9a151cb2b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 898613c4a42a2c534d0b1982c950d132689d451c5d443004012614eaf8c8e1c2
MD5 fafa4892f1ab763d843c6ac0193a619f
BLAKE2b-256 1893cc440872e4a42c625fe7fe99733ae58e6a6f8bf5ee9bc9d5fe9c00cb9e48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40f211b0359ac9c357d23fc02d2bffb1997557e7dc17e08e478da6938c0e6fb0
MD5 d7088eb81d410eddb51983bd77f931e1
BLAKE2b-256 d8624b620af152a90cc6dbf6edd625d16895398b6d5b7a1440768d81175f5c29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 914c741b18800a182ef633f5c4a27dc8fb67f3ba9eea31119cc8f0ce7d100749
MD5 034a37cc2e3a30eca023d1a8834bb16e
BLAKE2b-256 8c8f2d08204af0789b08aaf20a0af2ed3da7dcbed9f443c4324af92db80a143f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 660a92fc5e58926f4f47b00ca432f9cc568052cb1afa6eeb9aafb34893e885b8
MD5 471c1c9a8112d60ca4c455900ea209d7
BLAKE2b-256 aa739ce0983b01cab21c593f841dbf9bd692da9becdbb3994f21879ad4727582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 ee69888fbaa7842e35bd96aa62a10b03b4153347f0e46826a58d239500a6158c
MD5 e396674128ae4e869590ce9a7909f73e
BLAKE2b-256 a551a159dcba355d3b00001f25d89f228b84b64d9fbc369c57327425ea983c40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 f843297f819657442c2f521154ede9e18f19cede17d4fb9f85a5dff17f997171
MD5 2af87c1584f498b798280951813e0d98
BLAKE2b-256 d2d06c215dd35c54b9f403166e44d02d006aeb8557c958798c77d1b62aaea1c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 671cf9ae39d37d0886d054d9317c840a930359862c4b68015aecd30d30dbb194
MD5 6dd4eb1eacb8911869805d7df8b523b3
BLAKE2b-256 7248dff0499f7b53df3ee1f04766d1a6e6480e4a16c0d1a231261321605ce4ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c48e72e8465514f2a376edea99838a18258911f5e052026facad2d1a88492546
MD5 dec963bb18824a70a9d1513b7ac4e80b
BLAKE2b-256 f5d828387be3b01f3d10db3da48779a37522c541e4b5ed8bfe03a3bd96a20ed9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 740dab456972e86ea9372f4d3a6cd3e551a7a1e72593d73457c4963e05135618
MD5 0e0e887e589f0dab4fd466b49e02307b
BLAKE2b-256 1e582032e898a25f58f1210f416ad28aef4c13e8cf3017e36ef92183bb4604de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 09645cbcf29a08cd00765166b3dc9b44318a7e679b7b52b9b3466846bf939437
MD5 d393be8411b3872e2691f79780a7ac6a
BLAKE2b-256 2bba1c45ca69ce4ee70967c30a7dafbba80f43d20235282230d723877426513f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 2b28e65e1d2bc0bc2808ce6cfee7b9015255049e32911bb9dba13d70c6a7d66c
MD5 c344528a4f40c93420eedd70a7445894
BLAKE2b-256 c53c930d3148a8c35e84e7541bd2d2b5418e1db5a8bed77f9ab8e673ff1fda72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d7085035638a15688db14d3f4a4cc3205ea16aa09005f27d74e40086901b5bd5
MD5 2fe33bc4932cd254caf1c1d1ecf54359
BLAKE2b-256 712ac791cf352d4e62845fa7e3c214fcd48ac673251a1c3ac8f9d649978ce7e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7c62997ba2bac1781e2814781912d74c075cfeec76bf40a5a5b7160b49ca2288
MD5 ff09d88b68e641b662d877d81eb68caa
BLAKE2b-256 8b71940f5e3775ca8ce7422561924a0e1d702f34453fd44e8cb8fd23ef627382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c0664ea686e3602dad5f92213e1926461b71273a62492888ccfe0ed511882700
MD5 8548c4697ede7f1f85c14013b6e47d33
BLAKE2b-256 e435ce06a0c186d26254d844c09e873825837ae47bce4826aa1bbc8bd277d383

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 4f142c31eee4a1e74ed024382f8ce5ffebf32b2dfa9e73cc015fd5e55f72f2e3
MD5 417c48c4966275e1f2afd2cc53c093ec
BLAKE2b-256 5fdb7c4362eb7b0aa133025b4f595be94eabba707852ad6832aebb1f9fa9840e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 0201c8454f6ee19fdf8a167acaa97959b2ce960e4343ffbc97cd2108346847de
MD5 e14bd2d816b70833f7e1d06320f8b4d1
BLAKE2b-256 e672b7cdbc8eb874a1426665c48a7a3425c677073a4073e6ebd6edec9c2e608d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 78cecebd78e4e10115d6dac0b81e8636e7cb4cf51e6feaa0b2f2b7910c10a4c0
MD5 c95dcf5d933699a0b44883b28948576e
BLAKE2b-256 fadbc2665613f94444996b3487c50b2646851a46e2a29ba71002bba8efc87c1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5fd3bd1ea0c00ebcd23884827b57c6dbb0a8d896cce3d6e9c4a81f9a255e21b6
MD5 f34f0651c4507f8384e2334eaeac3c35
BLAKE2b-256 a854798061fc8450d13d729bcfedc687ea100568913fb15b6007245b483b7ac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03159227eb7755a100c195c33591186e9875746224310f53316fc2de68abe96b
MD5 88849085718a8bc1eff418aed94e533b
BLAKE2b-256 6cbc26325c908c24916d296433b62e9d65bddc3b22dd4f9df2a8b879b86f44b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d659077287c085baa58f1c679693f90e6d5e66e14761d7da8dd2ed974daf9242
MD5 a7306c2faf833e3d348a5895f3b3fbfb
BLAKE2b-256 7aa205a8d9232d65e448c4db55d20cbdf5b5bfcf6fbbae9c76b4796c893e1121

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 041e415a32e97d41dbcf9464acc12e28b97037bca60372172007dcc3aa759e87
MD5 4016aa8512b8e35a0b1ba8f50d91eaa8
BLAKE2b-256 90627ac4eeffafa6b5404355a55f45dadfbf1adc29046ac18d5045a95f097888

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 97c6c36492068f12f581f7d59aefde3dfd580fcefcc5cb2b06a1cb0c4cf5efd6
MD5 6847ac0273a2c09ea82d09e2dbdb97a6
BLAKE2b-256 cc43b80f9e72323c418a705ca77fb9aa526dd9f2ed0e09820930f1cbfca8e72b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d1a62bcfc1ea54b03330e07543fea6d2d26c8ce375df552dbf0980992c26e62f
MD5 d6408a8bb6a17fce63c9911e34bccf50
BLAKE2b-256 56ed7902e69f47df66ec33dc415aabcb4659e1bd2306f534bd604d533d379e69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4616c5e288a10c068026aa0a729b90b84bb2be328115f5778ff735d1ede98faf
MD5 d572eaea0690dccd8f5db5e27dbe279a
BLAKE2b-256 8c3e84267d1c345e767a6fcb40c825d860fa024061440c75c7e8113d2f6fbec1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.1.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 32ff701b8e45c868847f1df6b4163b90d6a5ab8e14e877513f62e02f634247ba
MD5 5b9707eb6fae70750fb0f3f0655a5033
BLAKE2b-256 9cb459572e17e2fd88d8d72a944fbacdb96dd6995a91d596a3d5a735a14e0db7

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