Skip to content

Commit

Permalink
retry adding ipopt
Browse files Browse the repository at this point in the history
  • Loading branch information
murraybj committed Oct 2, 2024
1 parent bd3351b commit 3971ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Material/Pyomo Fundamentals/1.5 NLP vs MIP.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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('ipopt', executable='/content/solvers/ipopt')\n",
"opt = pyo.SolverFactory('ipopt', executable='/solvers/ipopt')\n",
"opt_success = opt.solve(model)\n",
"\n",
"model.pprint()\n",
Expand Down

0 comments on commit 3971ef0

Please sign in to comment.