Skip to content

Conversation

@electronsandstuff
Copy link
Owner

This PR addresses an issue where evaluation of a problem on an unbatched array of decision variables results in an invalid Population object. The __call__ method has been fixed to avoid this issue. Additionally, validation on assignment has now been turned on in the Population object. This would have caused the assignment to throw an error resulting in detection of the issue earlier. Two new tests have been added to the repo which confirm problem evaluation works correctly on unbatched input and also that validation works correctly.

@electronsandstuff electronsandstuff merged commit bb4e847 into main Feb 20, 2025
2 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