From a264ef6f102c992decd2dc0902600e43489d3b94 Mon Sep 17 00:00:00 2001 From: Alessandro Zocca Date: Mon, 20 Nov 2023 23:46:32 +0100 Subject: [PATCH] Add numbering to chapter 3 notebooks --- _toc.yml | 24 +++++++++---------- ...perturbed.ipynb => 01-bim-perturbed.ipynb} | 0 ...duling.ipynb => 02-shift-scheduling.ipynb} | 0 ...b => 03-recharging-electric-vehicle.ipynb} | 0 notebooks/03/03.00.md | 24 +++++++++---------- ...b => 04-simple-production-model-gdp.ipynb} | 2 +- ...ling.ipynb => 05-machine-scheduling.ipynb} | 2 +- ...pynb => 06-bim-production-revisited.ipynb} | 2 +- ...ation.ipynb => 07-facility-location.ipynb} | 2 +- ...yptarithms.ipynb => 08-cryptarithms.ipynb} | 0 ...p-packing.ipynb => 09-strip-packing.ipynb} | 0 ...ing.ipynb => 10-job-shop-scheduling.ipynb} | 0 ...ng.ipynb => 11-maintenance-planning.ipynb} | 0 13 files changed, 28 insertions(+), 28 deletions(-) rename notebooks/03/{bim-perturbed.ipynb => 01-bim-perturbed.ipynb} (100%) rename notebooks/03/{shift-scheduling.ipynb => 02-shift-scheduling.ipynb} (100%) rename notebooks/03/{recharging-electric-vehicle.ipynb => 03-recharging-electric-vehicle.ipynb} (100%) rename notebooks/03/{simple-production-model-gdp.ipynb => 04-simple-production-model-gdp.ipynb} (99%) rename notebooks/03/{machine-scheduling.ipynb => 05-machine-scheduling.ipynb} (99%) rename notebooks/03/{bim-production-revisited.ipynb => 06-bim-production-revisited.ipynb} (99%) rename notebooks/03/{facility-location.ipynb => 07-facility-location.ipynb} (99%) rename notebooks/03/{cryptarithms.ipynb => 08-cryptarithms.ipynb} (100%) rename notebooks/03/{strip-packing.ipynb => 09-strip-packing.ipynb} (100%) rename notebooks/03/{job-shop-scheduling.ipynb => 10-job-shop-scheduling.ipynb} (100%) rename notebooks/03/{maintenance-planning.ipynb => 11-maintenance-planning.ipynb} (100%) diff --git a/_toc.yml b/_toc.yml index d60d5313..5a730da6 100644 --- a/_toc.yml +++ b/_toc.yml @@ -6,7 +6,7 @@ chapters: - file: notebooks/01/01.00.md sections: - file: notebooks/01/01-production-planning.ipynb - - file: notebooks/01/02_production-planning-basic.ipynb + - file: notebooks/01/02-production-planning-basic.ipynb - file: notebooks/01/03-production-planning-advanced.ipynb - file: notebooks/02/02.00.md @@ -23,17 +23,17 @@ chapters: - file: notebooks/03/03.00.md sections: - - file: notebooks/03/bim-perturbed.ipynb - - file: notebooks/03/shift-scheduling.ipynb - - file: notebooks/03/recharging-electric-vehicle.ipynb - - file: notebooks/03/simple-production-model-gdp.ipynb - - file: notebooks/03/machine-scheduling.ipynb - - file: notebooks/03/facility-location.ipynb - - file: notebooks/03/bim-production-revisited.ipynb - - file: notebooks/03/cryptarithms.ipynb - - file: notebooks/03/strip-packing.ipynb - - file: notebooks/03/job-shop-scheduling.ipynb - - file: notebooks/03/maintenance-planning.ipynb + - file: notebooks/03/01-bim-perturbed.ipynb + - file: notebooks/03/02-shift-scheduling.ipynb + - file: notebooks/03/03-recharging-electric-vehicle.ipynb + - file: notebooks/03/04-simple-production-model-gdp.ipynb + - file: notebooks/03/05-machine-scheduling.ipynb + - file: notebooks/03/06-facility-location.ipynb + - file: notebooks/03/07-bim-production-revisited.ipynb + - file: notebooks/03/08-cryptarithms.ipynb + - file: notebooks/03/09-strip-packing.ipynb + - file: notebooks/03/10-job-shop-scheduling.ipynb + - file: notebooks/03/11-maintenance-planning.ipynb - file: notebooks/04/04.00.md sections: diff --git a/notebooks/03/bim-perturbed.ipynb b/notebooks/03/01-bim-perturbed.ipynb similarity index 100% rename from notebooks/03/bim-perturbed.ipynb rename to notebooks/03/01-bim-perturbed.ipynb diff --git a/notebooks/03/shift-scheduling.ipynb b/notebooks/03/02-shift-scheduling.ipynb similarity index 100% rename from notebooks/03/shift-scheduling.ipynb rename to notebooks/03/02-shift-scheduling.ipynb diff --git a/notebooks/03/recharging-electric-vehicle.ipynb b/notebooks/03/03-recharging-electric-vehicle.ipynb similarity index 100% rename from notebooks/03/recharging-electric-vehicle.ipynb rename to notebooks/03/03-recharging-electric-vehicle.ipynb diff --git a/notebooks/03/03.00.md b/notebooks/03/03.00.md index d6791c2d..2773583c 100644 --- a/notebooks/03/03.00.md +++ b/notebooks/03/03.00.md @@ -17,17 +17,17 @@ where $\mathcal{I} \subseteq \{1,\dots,n\}$ is the subset of indices identifying This chapter includes several examples with companion Pyomo implementation that explore various modeling and implementation aspects of MILO: -* A basic MILO example modeling the [BIM production with perturbed data](bim-perturbed.ipynb) -* [A workforce shift scheduling problem](shift-scheduling.ipynb) -* [Optimal recharging strategy for an electric vehicle](recharging-electric-vehicle.ipynb) -* [A production problem using disjunctions](simple-production-model-gdp.ipynb) -* [A machine scheduling problem](machine-scheduling.ipynb) -* [BIM production revisited](bim-production-revisited.ipynb) -* [Facility location problem](facility-location.ipynb) - -* [Extra material: Cryptarithms puzzle](cryptarithms.ipynb) -* [Extra material: Strip packing](strip-packing.ipynb) -* [Extra material: Job shop scheduling](job-shop-scheduling.ipynb) -* [Extra material: Maintenance planning](maintenance-planning.ipynb) +* A basic MILO example modeling the [BIM production with perturbed data](01-bim-perturbed.ipynb) +* [A workforce shift scheduling problem](02-shift-scheduling.ipynb) +* [Optimal recharging strategy for an electric vehicle](03-recharging-electric-vehicle.ipynb) +* [A production problem using disjunctions](04-simple-production-model-gdp.ipynb) +* [A machine scheduling problem](05-machine-scheduling.ipynb) +* [BIM production revisited](06-bim-production-revisited.ipynb) +* [Facility location problem](07-facility-location.ipynb) + +* [Extra material: Cryptarithms puzzle](08-cryptarithms.ipynb) +* [Extra material: Strip packing](09-strip-packing.ipynb) +* [Extra material: Job shop scheduling](10-job-shop-scheduling.ipynb) +* [Extra material: Maintenance planning](11-maintenance-planning.ipynb) Go to the [next chapter](../04/04.00.md) about network optimization. \ No newline at end of file diff --git a/notebooks/03/simple-production-model-gdp.ipynb b/notebooks/03/04-simple-production-model-gdp.ipynb similarity index 99% rename from notebooks/03/simple-production-model-gdp.ipynb rename to notebooks/03/04-simple-production-model-gdp.ipynb index 5a726060..889ec1a7 100644 --- a/notebooks/03/simple-production-model-gdp.ipynb +++ b/notebooks/03/04-simple-production-model-gdp.ipynb @@ -5,7 +5,7 @@ "id": "229dff1b-612f-46a6-8ae8-9c7581cb1782", "metadata": {}, "source": [ - "# Production model using disjunctions" + "# 3.4 Production model using disjunctions" ] }, { diff --git a/notebooks/03/machine-scheduling.ipynb b/notebooks/03/05-machine-scheduling.ipynb similarity index 99% rename from notebooks/03/machine-scheduling.ipynb rename to notebooks/03/05-machine-scheduling.ipynb index 1cddf5b4..c235a63e 100644 --- a/notebooks/03/machine-scheduling.ipynb +++ b/notebooks/03/05-machine-scheduling.ipynb @@ -14,7 +14,7 @@ "```{index} single: Gantt charts\n", "```\n", "\n", - "# Machine Scheduling" + "# 3.5 Machine Scheduling" ] }, { diff --git a/notebooks/03/bim-production-revisited.ipynb b/notebooks/03/06-bim-production-revisited.ipynb similarity index 99% rename from notebooks/03/bim-production-revisited.ipynb rename to notebooks/03/06-bim-production-revisited.ipynb index 19463b95..67e3acac 100644 --- a/notebooks/03/bim-production-revisited.ipynb +++ b/notebooks/03/06-bim-production-revisited.ipynb @@ -17,7 +17,7 @@ "```{index} pandas dataframe\n", "```\n", "\n", - "# BIM production revisited" + "# 3.6 BIM production revisited" ] }, { diff --git a/notebooks/03/facility-location.ipynb b/notebooks/03/07-facility-location.ipynb similarity index 99% rename from notebooks/03/facility-location.ipynb rename to notebooks/03/07-facility-location.ipynb index 271f192f..500fe268 100644 --- a/notebooks/03/facility-location.ipynb +++ b/notebooks/03/07-facility-location.ipynb @@ -6,7 +6,7 @@ "id": "6HJBsbRamSjV" }, "source": [ - "# Facility location problem\n", + "# 3.7 Facility location problem\n", "\n", "This notebook illustrates Example 20 from Chapter 3 of the textbook Hands-On Mathematical Optimization with Python, Cambridge University Press, 2024.\n", "\n", diff --git a/notebooks/03/cryptarithms.ipynb b/notebooks/03/08-cryptarithms.ipynb similarity index 100% rename from notebooks/03/cryptarithms.ipynb rename to notebooks/03/08-cryptarithms.ipynb diff --git a/notebooks/03/strip-packing.ipynb b/notebooks/03/09-strip-packing.ipynb similarity index 100% rename from notebooks/03/strip-packing.ipynb rename to notebooks/03/09-strip-packing.ipynb diff --git a/notebooks/03/job-shop-scheduling.ipynb b/notebooks/03/10-job-shop-scheduling.ipynb similarity index 100% rename from notebooks/03/job-shop-scheduling.ipynb rename to notebooks/03/10-job-shop-scheduling.ipynb diff --git a/notebooks/03/maintenance-planning.ipynb b/notebooks/03/11-maintenance-planning.ipynb similarity index 100% rename from notebooks/03/maintenance-planning.ipynb rename to notebooks/03/11-maintenance-planning.ipynb