Installing Cairn

Dependencies

Required dependencies

Table. 1 Required dependencies

Package

Version

Use

Python

3.10.9

Post-treatment, sensitivity studies

Microsoft Visual C++ 2015 Redistributable

2015

The Visual C++ Redistributable Packages install the runtime components needed to run C++ applications built using Visual Studio 2015 (C Runtime (CRT), Standard C++, MFC, C++ AMP and OpenMP).

Optional dependencies

Table. 2 Optional dependencies

Package

Version

Use

CPLEX

20.1

Use commercial solver CPLEX

Standalone installation

  • Windows

    • In the documentation, CAIRN_APP refers to the root directory.

    • Use the installer Cairn_r.n.m, r being the major release number and n the minor one (update) and m the bugfix version.

    • Double click on the installer and follow the instructions.

    • If you are using CPLEX, do not forget to check the CPLEX component, you will be asked to confirm default location later on. Specify the path to CPLEX component if relevant and at the end, click on Install.

    • Python 3.10.9 and a dedicated virtual environment are needed as a pre-requisite. The virtual environment can be generated automatically by checking the box “Install virtual environment?”

Caution

You must accept the licenses.

../_images/CairnInstaller1.PNG

Fig. 11 Choose the components you want to install

about_cairn/images/cairnInstaller2.PNG

Fig. 12 Specify the path for Python environment

Python package installation

A wheel is available on GitHub.

Only windows plateform is supported so far.

Dependencies

Required dependencies

Table. 3 Required dependencies

Package

Version

Qt

5.15

python

3.10

pybind11

2.11.1

pandas

>= 1.5.2