diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5246cc04..034d6c4c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/Material/Pyomo Fundamentals/1.5 NLP vs MIP.ipynb b/Material/Pyomo Fundamentals/1.5 NLP vs MIP.ipynb index a7b5f1d6..1a57f913 100644 --- a/Material/Pyomo Fundamentals/1.5 NLP vs MIP.ipynb +++ b/Material/Pyomo Fundamentals/1.5 NLP vs MIP.ipynb @@ -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",