Skip to content

Commit f39c7ed

Browse files
committed
Update is_bounded docs, fix validate docs typos
1 parent fd2ae35 commit f39c7ed

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

pyomo/contrib/pyros/uncertainty_sets.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,11 @@ def is_bounded(self, config):
570570
This check is carried out by checking if all parameter bounds
571571
are finite.
572572
573-
If no parameter bounds are available, the check is done by
574-
solving a sequence of maximization and minimization problems
573+
If no parameter bounds are available, the following processes are run
574+
to perform the check:
575+
(i) feasibility-based bounds tightening is used to obtain parameter
576+
bounds, and if not all bound are found,
577+
(ii) solving a sequence of maximization and minimization problems
575578
(in which the objective for each problem is the value of a
576579
single uncertain parameter).
577580
If any of the optimization models cannot be solved successfully to
@@ -1311,7 +1314,7 @@ def validate(self, config):
13111314
------
13121315
ValueError
13131316
If any uncertainty set attributes are not valid.
1314-
If bound are not valid or finiteness and LB<=UB checks fail.
1317+
If finiteness or bounds checks fail.
13151318
"""
13161319
bounds_arr = np.array(self.parameter_bounds)
13171320

@@ -1805,8 +1808,8 @@ def validate(self, config):
18051808
------
18061809
ValueError
18071810
If any uncertainty set attributes are not valid.
1808-
If finiteness, full column rank of LHS matrix, is_bounded,
1809-
or is_nonempty checks fail.
1811+
If finiteness, full column rank of LHS matrix, bounded,
1812+
or nonempty checks fail.
18101813
"""
18111814
lhs_coeffs_arr = self.coefficients_mat
18121815
rhs_vec_arr = self.rhs_vec
@@ -2512,7 +2515,7 @@ def validate(self, config):
25122515
------
25132516
ValueError
25142517
If any uncertainty set attributes are not valid.
2515-
If finiteness full column rank of Psi matrix, or
2518+
If finiteness, full column rank of Psi matrix, or
25162519
beta between 0 and 1 checks fail.
25172520
"""
25182521
orig_val = self.origin

0 commit comments

Comments
 (0)