Skip to content

Commit

Permalink
Update pyomo.rst (#1661)
Browse files Browse the repository at this point in the history
  • Loading branch information
teytaud authored Nov 29, 2024
1 parent a519894 commit efa4a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pyomo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ First of all, you declare and attach components to the model, those components a
Next, you will fill in the containers using the :code:`create_instance()` method.
The :code:`create_instance()` method allows you to take the abstract model and optional data and returns a new :code:`ConcreteModel` instance.
You are recommended to use :code:`DataPortal` in Pyomo to load data in various format.
You may refer to the `Pyomo documentation <https://pyomo.readthedocs.io/en/stable/working_abstractmodels/data/dataportals.html>`_ for the details.
You may refer to the `Pyomo documentation <https://pyomo.readthedocs.io/en/stable>`_ for the details.


.. literalinclude:: ../nevergrad/functions/pyomo/test_pyomo_doc.py
Expand All @@ -63,4 +63,4 @@ You may refer to the `Pyomo documentation <https://pyomo.readthedocs.io/en/stabl
:end-before: DOC_ABSTRACT_101


.. [Hart2011] Hart, William E., Jean-Paul Watson, and David L. Woodruff. “Pyomo: modeling and solving mathematical programs in Python.” Mathematical Programming Computation 3, no. 3 (2011): 219-260.
.. [Hart2011] Hart, William E., Jean-Paul Watson, and David L. Woodruff. “Pyomo: modeling and solving mathematical programs in Python.” Mathematical Programming Computation 3, no. 3 (2011): 219-260.

0 comments on commit efa4a71

Please sign in to comment.