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

Enable (in)equality constraints for use with local and global scipy minimizers #841

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

thehrh
Copy link
Contributor

@thehrh thehrh commented Dec 5, 2024

  • also (re)introduce support for a few more scipy minimisers
  • redefine _minimizer_callback signature to support "trust-constr" minimiser
  • add a few quick minimiser tests (with and without constraints)
  • minor touchups

…interface; support a few more minimisers; adredefine _minimizer_callback signature to support trust-constr; add quick minimiser tests; minor touchups
@thehrh
Copy link
Contributor Author

thehrh commented Dec 5, 2024

closes #834

@thehrh
Copy link
Contributor Author

thehrh commented Dec 5, 2024

still need to make sure that constraints are correctly passed through to other minimisation schemes apart from simple local ones

@thehrh thehrh changed the title Enable (in)equality constraints for use with scipy.optimize.minimize interface Enable (in)equality constraints for use with local and global scipy minimizers Dec 9, 2024
@thehrh
Copy link
Contributor Author

thehrh commented Dec 9, 2024

closes #842

@thehrh thehrh marked this pull request as ready for review December 19, 2024 14:01
@thehrh
Copy link
Contributor Author

thehrh commented Dec 19, 2024

Note that various of the new minimiser unit tests "fail" (error is caught and reported but not re-raised) due to scipy bugs/quirks. I think pisa shouldn't prevent the user from trying out the various minimisation interfaces and options scipy provides in principle, even if some of these are buggy (either always or only when given certain configurations). This should also lower maintenance cost and raise awareness of existing enhancement potential.

@thehrh thehrh requested a review from JanWeldert December 19, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant