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

Support for constraints #20

Closed
ogencoglu opened this issue Feb 16, 2024 · 1 comment
Closed

Support for constraints #20

ogencoglu opened this issue Feb 16, 2024 · 1 comment

Comments

@ogencoglu
Copy link

Thanks for the work.

scipy's L-BFGS-B supports constraints: https://docs.scipy.org/doc/scipy/reference/optimize.minimize-lbfgsb.html#optimize-minimize-lbfgsb

Do you plan to add such support?

@florafauna
Copy link
Owner

Short answer: no.

minimize_parallel() is only implemented for the method "L-BFGS-B", which supports bounds, but not constraints, see https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_l_bfgs_b.html#scipy.optimize.fmin_l_bfgs_b. Other optimization algorithms that support constraints may require a different parallelization approach. This is not currently planned as part of the project.

Of course, I will evaluate PRs that offer parallel implementations of optimizers other than L-BFGS-B. Contributions are welcome.

@florafauna florafauna reopened this Mar 15, 2024
@florafauna florafauna closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
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

2 participants