Installation

Currently COMANDO is tested and should thus work with python 3.7 and 3.8. COMANDO itself only has sympy and pandas as its dependencies, however, while it can be used on its own for structural analysis, reformulation, or evauation of models and problems, actually solving optimization problems requires the use of an interface.

The available interfaces and their installation instructions can be found in Interfaces to solvers and algebraic modeling languages (AMLs).

For the solution of optimization problems COMANDO provides interfaces to different solvers or relies on the interfaces provided by algebraic modeling languages (AMLs). Interfaces are either text-based (i.e., they allow for the generation of an input file for a solver or an AML) or api-based (i.e., they make use of a Python interface provided by the solver or AML).

Currently we provide the following interfaces.

  • text-based:

    • BARON (solver)

    • GAMS (AML)

    • MAiNGO (solver)

  • API-based:

    • Pyomo / Pyomo.DAE (AML)

    • Gurobi (solver)

    • MAiNGO (solver)

Until COMANDO is listed on pypi you have the following options to install COMANDO:

  • Download the GitLab repository as a zip file

  • clone the GitLab repository

Once you did that, you can install via

# from the parent directory of this repository...
pip install .

Uninstallation

# from anywhere
pip uninstall comando