Skip to content

Commit

Permalink
Merge pull request #3070 from jialuw96/update_doc
Browse files Browse the repository at this point in the history
Fix bugs of the documentation of Pyomo.DoE
  • Loading branch information
jsiirola authored Dec 14, 2023
2 parents 809a58a + 5dc5cd5 commit 3bab26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/OnlineDocs/contributed_packages/doe/doe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ It allows users to define any number of design decisions. Heatmaps can be drawn
The function ``run_grid_search`` enumerates over the design space, each MBDoE problem accomplished by ``compute_FIM`` method.
Therefore, ``run_grid_search`` supports only two modes: ``sequential_finite`` and ``direct_kaug``.

.. literalinclude:: ../../../../pyomo/contrib/doe/examples/reactor_compute_FIM.py
.. literalinclude:: ../../../../pyomo/contrib/doe/examples/reactor_grid_search.py
:language: python
:pyobject: main

Expand All @@ -284,7 +284,7 @@ Pyomo.DoE accomplishes gradient-based optimization with the ``stochastic_program

This function solves twice: It solves the square version of the MBDoE problem first, and then unfixes the design variables as degree of freedoms and solves again. In this way the optimization problem can be well initialized.

.. literalinclude:: ../../../../pyomo/contrib/doe/examples/reactor_compute_FIM.py
.. literalinclude:: ../../../../pyomo/contrib/doe/examples/reactor_optimize_doe.py
:language: python
:pyobject: main

Expand Down

0 comments on commit 3bab26c

Please sign in to comment.