Fix PyROS DR polishing optimality constraint under nominal objective focus #3060
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary/Motivation:
Ensure optimality of decision rules (DR) with respect to the PyROS master problem is properly enforced for problems with a nominal objective focus (i.e.
objective_focus=ObjectiveType.nominalpassed to the PyROS solver).Let$k \in \{0, 1, \dots\}$ denote the index of the current PyROS iteration. Let $x^\star$ denote the optimal master first-stage variable values for the current iteration. For each $r = 0, 1, \dots, k$ , let $z^{r,\star}, y^{r,\star}$ denote the optimal second-stage and state variable values for block $r$ of the master problem of the current iteration. Now let
where$f_1$ and $f_2$ are the first-stage and second-stage objective functions, respectively; and $q^0, q^1, \dots, q^k$ are the uncertain parameter realizations of the current master problem. Under a nominal objective focus, the optimality constraint of the DR polishing problem of the current iteration should be
in which$z^0, y^0$ are the nominal second-stage and state variables for block 0 of the polishing problem. However, PyROS currently implements
which may result in suboptimal polished decision rules.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: