Skip to content

Commit

Permalink
comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yurchisin committed Nov 13, 2024
1 parent adc9105 commit 173e79b
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1,077 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "31f7a434-c49f-4ab1-a788-3dcae22bbd48",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1569,7 +1569,7 @@
"source": [
"status = model.status\n",
"if status == GRB.OPTIMAL:\n",
" print(f\"An optimial solution was found with objective {model.objVal}\")\n",
" print(f\"An optimal solution was found with objective {model.objVal}\")\n",
" model.printAttr('X')\n",
"else:\n",
" print(f\"Model is not optimal, status = {status}\")"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Write out your constraint to define ymodel[i] for each data poitn in points\n",
"# Write out your constraint to define ymodel[i] for each data point in points\n",
"# (your code goes here)"
]
},
Expand Down Expand Up @@ -535,7 +535,7 @@
"source": [
"status = model.status\n",
"if status == GRB.OPTIMAL:\n",
" print(f\"An optimial solution was found with objective {model.objVal}\")\n",
" print(f\"An optimal solution was found with objective {model.objVal}\")\n",
" model.printAttr('X')\n",
"else:\n",
" print(f\"Model is not optimal, status = {status}\")"
Expand Down
Loading

0 comments on commit 173e79b

Please sign in to comment.