Skip to content

Make PyROS UncertaintySet Valid Numeric Types Mutable #2724

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
shermanjasonaf opened this issue Feb 9, 2023 · 0 comments · May be fixed by #3558
Open

Make PyROS UncertaintySet Valid Numeric Types Mutable #2724

shermanjasonaf opened this issue Feb 9, 2023 · 0 comments · May be fixed by #3558

Comments

@shermanjasonaf
Copy link
Contributor

Summary

Based on this comment in #2488, the set of acceptable types for any numeric entry of a PyROS UncertaintySet attribute is frozen whenever contrib.pyros is imported. As the set of acceptable types is based on core.expr.numvalue.native_numeric_types, itself a mutable object, we wish to allow the set of acceptable types to be mutable, while also improving the computational performance of PyROS UncertaintySet subclass attribute type validation routines.

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

Successfully merging a pull request may close this issue.

2 participants