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

Design constraints into the black boxes #251

Open
4 tasks
miguelgondu opened this issue Aug 29, 2024 · 1 comment
Open
4 tasks

Design constraints into the black boxes #251

miguelgondu opened this issue Aug 29, 2024 · 1 comment

Comments

@miguelgondu
Copy link
Collaborator

miguelgondu commented Aug 29, 2024

Some black boxes (e.g. foldx,rasp and ehrlich) have constraints like only allowing evaluation in inputs of certain length. We should

  • Add an is_feasible method to them (?)
  • Modify the black box information by adding an is_constrained kwarg.
  • Adding an attribute self.constraints: list[(np.ndarray) -> (bool | list[bool])] (?)
  • Decide on what to return by default. Is it np.nan? Is it -np.inf?
@miguelgondu
Copy link
Collaborator Author

@samuelstanton

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

No branches or pull requests

1 participant