Skip to content

Commit

Permalink
improved scheduling notebook for colab usage
Browse files Browse the repository at this point in the history
  • Loading branch information
LTluttmann committed Sep 2, 2024
1 parent adac6c4 commit ce248e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/other/2-scheduling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -689,14 +689,13 @@
}
],
"source": [
"\n",
"%%bash\n",
"\n",
"# Define the folder path\n",
"DATA_PATH=\"./taillard\"\n",
"\n",
"# Check if the folder exists\n",
"if [ -d \"$FOLDER_PATH\" ]; then\n",
"if [ -d \"$DATA_PATH\" ]; then\n",
" echo \"Folder already exists.\"\n",
"else\n",
" echo \"Folder does not exist. Creating folder and downloading taillard instances...\"\n",
Expand All @@ -706,7 +705,9 @@
" ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai20_20.txt -O taillard/tai20_20.txt\n",
" ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai30_15.txt -O taillard/tai30_15.txt\n",
" ! wget http://mistic.heig-vd.ch/taillard/problemes.dir/ordonnancement.dir/jobshop.dir/tai30_20.txt -O taillard/tai30_20.txt\n",
"fi"
"fi\n",
"\n",
"exit 0"
]
},
{
Expand Down

0 comments on commit ce248e8

Please sign in to comment.