Skip to content

Commit

Permalink
forgot one
Browse files Browse the repository at this point in the history
  • Loading branch information
murraybj committed Oct 2, 2024
1 parent 090b50e commit 6814967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Material/Dynamic Exercises/param_est2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,8 @@
"discretizer = pyo.TransformationFactory('dae.collocation')\n",
"discretizer.apply_to(m,nfe=10,ncp=3,scheme='LAGRANGE-RADAU')\n",
"\n",
"solver = pyo.SolverFactory('ipopt')\n",
"ipopt_runner_path = \"/home/runner/work/pyomo_jupyter_book/pyomo_jupyter_book/solvers/ipopt\"\n",
"solver = pyo.SolverFactory('ipopt', executable=ipopt_runner_path)\n",
"solver.solve(m, tee=True)\n",
"\n",
"print('k1= '+str(pyo.value(m.k1)))\n",
Expand Down

0 comments on commit 6814967

Please sign in to comment.