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 user-defined (in)equality constraints also for scipy minimisation #834

Open
thehrh opened this issue Nov 8, 2024 · 0 comments
Open
Assignees

Comments

@thehrh
Copy link
Contributor

thehrh commented Nov 8, 2024

The absence of constraints (inequality or equality) is hard-coded by PISA within _fit_scipy , see

cons = ()
and
constraints=cons,
, even though e.g. SLSQP, L-BFGS-B, or SHGO support them.

According to the documentation, inequality constraints for NLOPT can be defined as part of minimiser settings (

"ineq_constraints": [
), and are converted into a callable internally (
ineq_func_params = eval(constr)
).

@thehrh thehrh self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant