diff --git a/optimization202/Modeling_Session_1/exercise_set1.ipynb b/optimization202/Modeling_Session_1/exercise_set1.ipynb index f486e68..76c3685 100755 --- a/optimization202/Modeling_Session_1/exercise_set1.ipynb +++ b/optimization202/Modeling_Session_1/exercise_set1.ipynb @@ -305,7 +305,7 @@ "source": [ "### Quadratic expression\n", "\n", - "In order to produce more widgets, production facilities must run their machines at faster speeds. This consumes more energy and produces more waste at a level that grows with each widget produced. Running their machines costs a production facility $0.01 times the square of the number of widgets produced. Modify the objective function to include this additional production cost. Here is the some code to get you started - it includes the original transportation cost expression that you will be adding to:\n", + "In order to produce more widgets, production facilities must run their machines at faster speeds. This consumes more energy and produces more waste at a level that grows with each widget produced. Running their machines costs a production facility $0.01 times the square of the number of widgets produced. Modify the objective function to include this additional production cost. Here is some code to get you started - it includes the original transportation cost expression that you will be adding to:\n", "\n", "```python\n", "m.setObjective(gp.quicksum(transp_cost[p,d]*x[p,d] for p in production for d in distribution) + ..., GRB.MINIMIZE)\n", diff --git a/optimization202/Modeling_Session_2/exercise_set2.ipynb b/optimization202/Modeling_Session_2/exercise_set2.ipynb index efc3fba..c1e7644 100644 --- a/optimization202/Modeling_Session_2/exercise_set2.ipynb +++ b/optimization202/Modeling_Session_2/exercise_set2.ipynb @@ -139,7 +139,7 @@ "- [Visualization of PWL](https://docs.gurobi.com/projects/optimizer/en/current/concepts/modeling/objectives.html#piecewise-linear-objectives)\n", "\n", "### Scenario 1\n", - "We have a new cost structure for transporting widgets we make. \n", + "We have a new cost structure for transporting the widgets we make. \n", "- There will be a flat 0.50 increase for all transportation costs. \n", "- If we decide to bulk ship at least half of a production facility's max to any one distribution location, every widget over that half capacity number costs 60% of the new transportation cost. \n", "\n", @@ -525,7 +525,7 @@ "source": [ "You now decide that your investments need to be a little more diversified. Add any necessary variables and constraints that will:\n", "- Make sure you invest in at least four sectors.\n", - "- If an investment is made in a sector, then will need to be at least 10% of the budget." + "- If an investment is made in a sector, then it will need to be at least 10% of the budget." ] }, {