Skip to content

Commit

Permalink
update to requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
murraybj committed Oct 2, 2024
1 parent 55fd9c0 commit 8ab5eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Material/Pyomo Fundamentals/1.1 Knapsack Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"model.weight_con = pyo.Constraint(\n",
" expr = sum( w[i]*model.x[i] for i in A ) <= W_max )\n",
"\n",
"opt = pyo.SolverFactory('glpk', executable='/usr/bin/glpsol')\n",
"opt = pyo.SolverFactory('glpk')\n",
"opt_success = opt.solve(model)\n",
"\n",
"model.pprint()"
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ jupyter-book
matplotlib
numpy
pandas
pyomo
pyomo
openpyxl

0 comments on commit 8ab5eb3

Please sign in to comment.