Skip to content
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

Extend from_simplex with constraints #159

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

Scienfitz
Copy link
Collaborator

  • Adds constraints to from_simplex. While the simplex constructor takes care of the overall sum constraint, it was not possible to add other constraints, which is now enabled
  • Also fixes a bug in an example not printing the correct asserts in SMOKE_TEST

@Scienfitz Scienfitz added bug Something isn't working new feature New functionality labels Mar 1, 2024
@Scienfitz Scienfitz self-assigned this Mar 1, 2024
@Scienfitz Scienfitz force-pushed the feature/from_simplex_add_constraint branch 2 times, most recently from 5a83c94 to aba6c7f Compare March 1, 2024 19:03
baybe/searchspace/discrete.py Outdated Show resolved Hide resolved
@Scienfitz Scienfitz force-pushed the feature/from_simplex_add_constraint branch from bc20ca5 to 03a837d Compare March 6, 2024 15:22
@Scienfitz Scienfitz merged commit 66e14fa into main Mar 6, 2024
10 checks passed
@Scienfitz Scienfitz deleted the feature/from_simplex_add_constraint branch March 6, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants