Skip to content

Commit

Permalink
Update completed_exercise_set1.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
yurchisin committed Nov 14, 2024
1 parent 47cc481 commit a667a0b
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,13 @@
"Solve the model again and inspect the solution. Verify by inspection that it satisfies this newly added constraint.\n",
"\n",
"Using the properties of logarithms, the constraint can be rewritten as:\n",
"$ x_{\\textrm{Baltimore,Indianapolis}}\\geq \\frac 14\\sum_d x_{\\textrm{Baltimore},d}$"
"$ x_{\\textrm{Baltimore,Indianapolis}}\\geq \\frac 14\\sum_d x_{\\textrm{Baltimore},d}$\n",
"\n",
"\\begin{align*}\n",
"\\log(\\frac{4 \\cdot x_{\\textrm{Baltimore,Indianapolis}}}{\\sum_d x_{\\textrm{Baltimore},d}})\\normalsize &\\geq 0 \\\\\n",
"\\frac{4 \\cdot x_{\\textrm{Baltimore,Indianapolis}}}{\\sum_d x_{\\textrm{Baltimore},d}} &\\geq 1 \\\\\n",
"x_{\\textrm{Baltimore,Indianapolis}}&\\geq \\frac 14\\sum_d x_{\\textrm{Baltimore},d}\n",
"\\end{align*}"
]
},
{
Expand Down

0 comments on commit a667a0b

Please sign in to comment.