From f1efe220f7c348cdfb481217bb41a58a2838b701 Mon Sep 17 00:00:00 2001 From: Jerry Yurchisin Date: Thu, 14 Nov 2024 09:49:35 -0500 Subject: [PATCH] Update exercise_set1.ipynb --- optimization202/Modeling_Session_1/exercise_set1.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/optimization202/Modeling_Session_1/exercise_set1.ipynb b/optimization202/Modeling_Session_1/exercise_set1.ipynb index 2acca8f..e2b9424 100755 --- a/optimization202/Modeling_Session_1/exercise_set1.ipynb +++ b/optimization202/Modeling_Session_1/exercise_set1.ipynb @@ -97,11 +97,11 @@ "\n", "> Part 2. \n", "\n", - "\\begin{align}\n", - "x_1 + x_2 + x_3 &= 6 \\\\\n", - "3x_1 + 2x_2 + x_3 &\\ge 20 \\\\\n", + "\\begin{align*}\n", + "x_1 + x_2 + x_3 &= 6 \\quad &(1) \\\\\n", + "3x_1 + 2x_2 + x_3 &\\ge 20 \\quad &(2)\\\\\n", "x_1, x_2, x_3, &\\ge 0\n", - "\\end{align}\n", + "\\end{align*}\n", "\n", "**Q9.** Translate the following into constraints using binary variables for deciding to invest in three stocks. Then determine if they are compatible as above. \n", "\n",