From 3feccefbe1315f22392f6d25e8f4e819f3538367 Mon Sep 17 00:00:00 2001 From: avdudchenko <33663878+avdudchenko@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:16:34 -0700 Subject: [PATCH] Update install.rst --- docs/source/install.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index 60d62a5..fe34b21 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -436,10 +436,9 @@ that folder into your conda env\Library\bin folder \envs\\Library\bin -Once the DLL files are placed you should be able to access the HSL solvers using solver options, in pyomo:: +Once the DLL files are placed you should be able to access the HSL solvers using solver options:: - solver = pyo.SolverFactory("cyipopt") - solver.config.options["linear_solver"] = "ma27" + problem.add_option('linear_solver', 'ma57') If all works well, you should see the following when setting ``tee=True``::