Skip to content

Commit

Permalink
ipopt retry
Browse files Browse the repository at this point in the history
  • Loading branch information
murraybj committed Oct 2, 2024
1 parent 09a3a92 commit 2ee9160
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
sudo pip install idaes-pse --pre
idaes get-extensions --to ./solvers
- name: testing
run: |
find / -name 'ipopt'
# Install dependencies
- name: Set up Python 3.11
uses: actions/setup-python@v4
Expand Down
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='/solvers/ipopt')\n",
"opt = pyo.SolverFactory('ipopt', executable='/home/runner/work/pyomo_jupyter_book/pyomo_jupyter_book/solvers/ipopt')\n",
"opt_success = opt.solve(model)\n",
"\n",
"model.pprint()\n",
Expand Down

0 comments on commit 2ee9160

Please sign in to comment.