Download and Installation

Requirements

To run the hyptia software, you need to have a couple of things on your machine:

  • Python programming language, version 3.7 or higher

  • A number of Python adds-on libraries

  • A solver that is acceptable for hypatia domain-specific language

  • Hypatia software

Installing Python

There are many options to install Python and manage its packages but we recommend to use the free conda package manager that can install hypatia and its depencies in an easy and user friendly way.

After downloading and installing “Anaconda Distribution”, you need a python IDE to run your codes. If it is your first time, working with Python, we strongly suggest Spyder, which is a free and open source scientific enviroment written in Python for Python, and designed by and for scientisits, engineers, and data analysts.

Python module requirements

By installing the hypatia software, you will install minimum depencies automatically. Some of the key packages that hypatia relies on are:

  1. Pandas

  2. Numpy

  3. Plotly

  4. Cvxpy

Note

The CVXPY library that is the domain specific optimization language used to write the Hypatia core code will not be installed automatically after installing the hypatia software. Therefore, it is required to install it separately as it is demonstrated in the following.

Solvers

cvxpy supports multiple open source solvers such as:

and some commercial solvers:

Some solvers including OSQP, ECOS, cvxopt, GLPK, SCS and Scipy will be installed with Hypatia, automatically, so for installing the other solvers, you need to refer to the solver website for the installation instruction.

Note

Depending on the complexities of the model, some solvers may fail in solving process.