Installation

Decogo is tested on Python 3.8 (CPython).

Dependencies

Pyomo

Decogo uses Pyomo of version >= 6.0 (tested up to 6.0.1)

Solvers

Decogo uses MINLP, NLP and MIP solvers which can interface with Pyomo. We recommend the following solvers:

  • MIP:
    • Gurobi (install using conda)

  • NLP:
    • IPOPT (needs version that supports AMPL, see AMPL website)

  • MINLP:
    • SCIP (needs version that supports AMPL)

Other Python packages

It is necessary to have installed the following Python packages:

  • networkx

  • numpy

  • scipy

  • sympy

Installation for development in Windows

  • Install Git

  • Install Python 3.8 with Anaconda distribution

  • Python IDE: PyCharm (full version with institution email is free) is recommended, however you are free to use any IDE you prefer

  • Download SCIP, IPOPT executables that support AMPL interface. Put executables either into system folder (C:\Windows\System32) or add executable location to PATH variable

  • Install Gurobi with conda