Skip to content

Commit

Permalink
fix read_results doc
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorb1 committed Sep 23, 2024
1 parent efe0e17 commit 2d83757
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/convert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ See :func:`otoole.convert.convert_results` for more details
Reading solver results into a dict of Pandas DataFrames
-------------------------------------------------------

The ``read_results`` function reads a CBC_, CLP_,
Gurobi_ or CPLEX_ solution file into memory::
The ``read_results`` function reads a CBC_, CLP_, Gurobi_ or CPLEX_ solution file into to a Python object.
This allows you to then use all the features offered by Python to manipulate the data.

>>> from otoole import read_results
>>> read_results('my_model.yaml', 'cbc', 'csv', 'my_model.sol', 'my_model_csvs', 'datafile', 'my_model.dat')
>>> data, defaults = read_results('my_model.yaml', 'cbc', 'my_model.sol', 'datafile', 'my_model.dat')

See :func:`otoole.convert.read_results` for more details

Expand Down

0 comments on commit 2d83757

Please sign in to comment.