Installation#
Note
Owing to the significant changes in the latest version of gym, the current version of the code is not compatible with the latest version of gym. Please ensure that the version of gym is 0.22.0.
Install with pip#
pip install virne
Install with script#
# only cpu
bash install.sh -c 0
# use cuda (e.g. cuda 11.3)
bash install.sh -c 11.3
Selective installation#
Necessary#
pip install numpy pandas matplotlib networkx pyyaml tqdm ortools colorama
Expansion#
Deep Learning
# use cuda
conda install pytorch cudatoolkit=11.3 -c pytorch
pip install tensorboard
# only cpu
conda install pytorch -c pytorch
pip install tensorboard
Reinfocement Learning
pip install gym=0.22.0
Graph Neural Network
conda install pyg -c pyg -c conda-forge