Skip to content

Commit

Permalink
Fix minor textual typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrozocca committed Jun 5, 2024
1 parent 2535ba6 commit 3e06d8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ chapters:
- file: notebooks/02/06-bim-dual.ipynb
- file: notebooks/02/07-bim-demand-forecast.ipynb
- file: notebooks/02/08-L1-regression-wine-quality.ipynb
- file: notebooks/02/09-production-faciliity-worst-case.ipynb
- file: notebooks/02/09-production-facility-worst-case.ipynb

- file: notebooks/03/03.00.md
sections:
Expand Down
2 changes: 1 addition & 1 deletion notebooks/02/02.00.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ This chapter includes several with companion Pyomo implementation that explore v
* [The dual problem of the microchip production problem](06-bim-dual.ipynb)
* [The BIM production problem using demand forecasts](07-bim-demand-forecast.ipynb)
* [Extra material: Wine quality prediction problem using $L_1$ regression](08-L1-regression-wine-quality.ipynb)
* [Extra material: Multi-product facility production](09-production-faciliity-worst-case.ipynb)
* [Extra material: Multi-product facility production](09-production-facility-worst-case.ipynb)

Go to the [next chapter](../03/03.00.md) about mixed-integer linear optimization.
4 changes: 2 additions & 2 deletions notebooks/03/06-facility-location.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"\n",
"$$\n",
"\\begin{equation*}\n",
" \\sum_i y_{ij} \\leq n x_j \\qquad \\forall \\, j \\in J.\n",
" \\sum_{i \\in I} y_{ij} \\leq m x_j \\qquad \\forall \\, j \\in J.\n",
"\\end{equation*}\n",
"$$\n",
"\n",
Expand All @@ -125,7 +125,7 @@
"\\begin{align*}\n",
" \\min \\quad & \\sum_{j \\in J} c_j x_j + \\sum_{i \\in I} \\sum_{j \\in J} h_{ij} y_{ij} \\\\\n",
" \\text{s.t.} \\quad & \\sum_{j \\in J} y_{ij} =1 \\qquad \\forall \\, i \\in I & \\text{(every customer is served)}\\\\\n",
" & \\sum_i y_{ij} \\leq n x_j \\qquad \\forall \\, j \\in J & \\text{(facility built before use)}\\\\\n",
" & \\sum_{i \\in I} y_{ij} \\leq m x_j \\qquad \\forall \\, j \\in J & \\text{(facility built before use)}\\\\\n",
" & x_j \\in \\{0,1\\} \\qquad \\forall \\, i\\in I\\\\\n",
" & y_{ij} \\in \\{0,1\\} \\qquad \\forall \\, i\\in I, \\, \\forall \\, j \\in J.\n",
"\\end{align*}\n",
Expand Down

0 comments on commit 3e06d8b

Please sign in to comment.