Skip to content

Update the PyROS Separation Priority Ordering Interface #3581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

shermanjasonaf
Copy link
Contributor

@shermanjasonaf shermanjasonaf commented Apr 28, 2025

Summary/Motivation:

Update the PyROS solver interface for specification of constraint separation priorities.

Changes proposed in this PR:

  • Add support for detection of separation priorities from Suffix components with local name "pyros_separation_priority"
  • Deprecate the optional argument separation_priority_order
  • Acknowledge, where applicable, separation priorities mapped to (the name of) any Var or Constraint component declared on the model. Thus, for example, constraints derived from Var bound specifications can be prioritized by mapping priorities to Var components
  • Allow None to be specified as a priority for equality and inequality constraints that are not to be robustly enforced. These constraints are enforced subject to only the nominal uncertain parameter realization, and are therefore excluded from the separation problems. Note also that equality constraints with a priority of None are, therefore, not reformulated via coefficient matching or discretization, where otherwise applicable
  • Add to the PyROS online documentation a section that explains the interface for specifying constraint separation priorities

TODO

  • Update version number, changelog (including deprecation warning and online docs logging example)

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:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@blnicho blnicho requested review from jsiirola and blnicho April 29, 2025 18:43
@shermanjasonaf
Copy link
Contributor Author

@jas-yao @natalieisenberg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant