Skip to content

Add Bounds to Container Objects - #63

Merged
electronsandstuff merged 9 commits into
mainfrom
pierce/bounds
Aug 16, 2026
Merged

Add Bounds to Container Objects#63
electronsandstuff merged 9 commits into
mainfrom
pierce/bounds

Conversation

@electronsandstuff

@electronsandstuff electronsandstuff commented Aug 14, 2026

Copy link
Copy Markdown
Owner

This PR adds variable bounds to the Population object.

  • Add var_lower_bounds and var_upper_bounds fields to Population
    • Implemented as numpy array
    • Validation for array shape, type, and that lower bound is less than upper bound
    • Default to (-inf, inf) when unspecified
  • Bugfix for upper bound of CONSTR problem
  • Problem calls include bounds in results
  • Bounds are used in decision variable plots
  • Load bounds in Xopt importer tool
  • Update type annotation in containers.py
  • Update test workflow on MacOS/linux to fail on test failure. Fix location of coverage test

@electronsandstuff
electronsandstuff merged commit 9667976 into main Aug 16, 2026
13 checks passed
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