Published March 14, 2023
| Version v0.9.0
Software
Open
ampl/amplpy: v0.9.0
Authors/Creators
- 1. @ampl
- 2. Universidad Politécnica de Madrid
- 3. Dept. of Maths, UniTS | @LACoNIC-UniTS ⊆ @ailab-units | @sissa-data-science | @AI-Student-Society
Description
Changelog:
- Introduced
amplpy.modulesto simplify installation of AMPL and all solvers across all Python environments including (Google Colab, Docker Containers, Continuous Integration Tools, etc.) - Now AMPL and all Solvers are available as Python Packages and can be installed as follows: ```python # Install Python API for AMPL $ python -m pip install amplpy --upgrade
$ python -m amplpy.modules install highs cbc gurobi
Activate your license (e.g., free https://ampl.com/ce license)$ python -m amplpy.modules activate <license-uuid>
Import in Python$ python
from amplpy import AMPL ampl = AMPL() # instantiate AMPL object ```
[Documentation] [AMPL Modules for Python] [Available on Google Colab]
Files
ampl/amplpy-v0.9.0.zip
Files
(1.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:f104a8d55288399fb603f291c83f4270
|
1.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ampl/amplpy/tree/v0.9.0 (URL)