From bab0da03db4429a788e840f915f4a9dd992ad551 Mon Sep 17 00:00:00 2001 From: Marco Oesting Date: Wed, 11 Oct 2023 10:30:37 +0200 Subject: [PATCH 1/4] Added installation instructions for the exercise. --- material/3_wed/linalg/slides.qmd | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/material/3_wed/linalg/slides.qmd b/material/3_wed/linalg/slides.qmd index 4325678..d4fa9c2 100644 --- a/material/3_wed/linalg/slides.qmd +++ b/material/3_wed/linalg/slides.qmd @@ -1,11 +1,29 @@ ---- +------------------------------------------------------------------------ + +------------------------------------------------------------------------ ---- ## Slides The slides are available [in pptx format here](Julia_Matrices_Optimization_JuMP_Stuttgart2023.pptx). Note that there are a few extra slides in case you are motivated to learn more! ## Exercise +Please download the files {{< downloadthis Manifest.toml label="Manifest.toml" >}} and {{< downloadthis Project.toml label="Project.toml" >}}, put the files in the same folder that \*.ipynb file is located. + +Start Julia in that directory and run the following commands: + +```{julia} + +using Pkg; Pkg.activate("."); Pkg.instantiate() + +``` + +Now, you are ready to open the notebook in VSCode or alternatively in the same Julia console that you used for installation. You can run the following commands: + +```{julia} + +using IJulia; notebook(dir=".") + +``` + The exercise is rendered [as html here](Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb) but can also be downloaded {{< downloadthis Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb label="Download as ipynb" >}} - \ No newline at end of file From c044bb55f7ba24c3d5ea1af03b0581b56a75b64a Mon Sep 17 00:00:00 2001 From: Marco Oesting Date: Wed, 11 Oct 2023 10:36:53 +0200 Subject: [PATCH 2/4] Correct Slides --- material/3_wed/linalg/slides.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/material/3_wed/linalg/slides.qmd b/material/3_wed/linalg/slides.qmd index d4fa9c2..cc0cc77 100644 --- a/material/3_wed/linalg/slides.qmd +++ b/material/3_wed/linalg/slides.qmd @@ -8,7 +8,7 @@ The slides are available [in pptx format here](Julia_Matrices_Optimization_JuMP_ ## Exercise -Please download the files {{< downloadthis Manifest.toml label="Manifest.toml" >}} and {{< downloadthis Project.toml label="Project.toml" >}}, put the files in the same folder that \*.ipynb file is located. +Please download the files [Manifest.toml](Manifest.toml) and [Project.toml](Project.toml), put the files in the same folder that \*.ipynb file is located. Start Julia in that directory and run the following commands: From 34d36e92d1a3f16f7a2fd708e543ad590ca5cf66 Mon Sep 17 00:00:00 2001 From: Marco Oesting Date: Wed, 11 Oct 2023 10:44:18 +0200 Subject: [PATCH 3/4] Another correction... --- material/3_wed/linalg/slides.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/material/3_wed/linalg/slides.qmd b/material/3_wed/linalg/slides.qmd index cc0cc77..f4d24eb 100644 --- a/material/3_wed/linalg/slides.qmd +++ b/material/3_wed/linalg/slides.qmd @@ -1,6 +1,6 @@ ------------------------------------------------------------------------- +--- ------------------------------------------------------------------------- +--- ## Slides From 4c1392b34963278d31dcdf514efc426a7f2eaf2b Mon Sep 17 00:00:00 2001 From: Marco Oesting Date: Wed, 11 Oct 2023 10:49:10 +0200 Subject: [PATCH 4/4] Clarified some instructions. --- material/3_wed/linalg/slides.qmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/material/3_wed/linalg/slides.qmd b/material/3_wed/linalg/slides.qmd index f4d24eb..6270c0f 100644 --- a/material/3_wed/linalg/slides.qmd +++ b/material/3_wed/linalg/slides.qmd @@ -8,7 +8,9 @@ The slides are available [in pptx format here](Julia_Matrices_Optimization_JuMP_ ## Exercise -Please download the files [Manifest.toml](Manifest.toml) and [Project.toml](Project.toml), put the files in the same folder that \*.ipynb file is located. +The exercise is rendered [as html here](Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb) but can also be downloaded {{< downloadthis Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb label="Download as ipynb" >}} + +Before starting the exercise, please download the files [Manifest.toml](Manifest.toml) and [Project.toml](Project.toml), put the files in the same folder that \*.ipynb file is located. Start Julia in that directory and run the following commands: @@ -26,4 +28,3 @@ using IJulia; notebook(dir=".") ``` -The exercise is rendered [as html here](Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb) but can also be downloaded {{< downloadthis Julia_Matrices_Optimization_JuMP_Stuttgart2023.ipynb label="Download as ipynb" >}}