-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_example_lyon.sh
33 lines (27 loc) · 1.29 KB
/
run_example_lyon.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set -e
## Prepare
cd /home/ubuntu/irtx-jsprit-copert-connector
mkdir /home/ubuntu/irtx-jsprit-copert-connector/output
## Create environment
conda env create -f environment.yml -n jsprit2copert
## Activate environment
conda activate jsprit2copert
## Run connector
papermill "Convert.ipynb" /dev/null \
-pconfiguration_path data/configuration_lyon.json \
-pscenario_path /home/ubuntu/irtx-jsprit/output/scenario_baseline_2022.json \
-psolution_path /home/ubuntu/irtx-jsprit/output/solution_baseline_2022.json \
-poutput_path /home/ubuntu/irtx-jsprit-copert-connector/output/copert_baseline_2022.xlsx \
-pyear 2022
papermill "Convert.ipynb" /dev/null \
-pconfiguration_path data/configuration_lyon.json \
-pscenario_path /home/ubuntu/irtx-jsprit/output/scenario_ucc_2022.json \
-psolution_path /home/ubuntu/irtx-jsprit/output/solution_ucc_2022.json \
-poutput_path /home/ubuntu/irtx-jsprit-copert-connector/output/copert_ucc_2022.xlsx \
-pyear 2022
papermill "Convert.ipynb" /dev/null \
-pconfiguration_path data/configuration_lyon.json \
-pscenario_path /home/ubuntu/irtx-jsprit/output/scenario_ucc_2030.json \
-psolution_path /home/ubuntu/irtx-jsprit/output/solution_ucc_2030.json \
-poutput_path /home/ubuntu/irtx-jsprit-copert-connector/output/copert_ucc_2030.xlsx \
-pyear 2030