Skip to content

Commit

Permalink
Tweak documentation of PyROS uncertain_params argument
Browse files Browse the repository at this point in the history
  • Loading branch information
shermanjasonaf committed Dec 1, 2024
1 parent 24d49c1 commit 3b4c59d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pyomo/contrib/pyros/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,10 @@ def pyros_config():
description=(
"""
Uncertain model parameters.
The `mutable` attribute for all uncertain parameter
objects should be set to True.
Of every constituent `Param` object,
the `mutable` attribute must be set to True.
Of every constituent `Var` and `VarData` object,
the domain, declared bounds, and fixing are ignored.
"""
),
visibility=1,
Expand Down
2 changes: 1 addition & 1 deletion pyomo/contrib/pyros/pyros.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def solve(
Second-stage model variables (or control variables).
uncertain_params: (iterable of) Param, Var, ParamData, or VarData
Uncertain model parameters.
Of every constituent `Param` and `ParamData` object,
Of every constituent `Param` object,
the `mutable` attribute must be set to True.
Of every constituent `Var` and `VarData` object,
the domain, declared bounds, and fixing are ignored.
Expand Down

0 comments on commit 3b4c59d

Please sign in to comment.