8000 Quadratic Constraints and/or objective · Issue #444 · PyPSA/linopy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Quadratic Constraints and/or objective #444

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

Open
FBumann opened this issue Apr 17, 2025 · 2 comments
Open

Quadratic Constraints and/or objective #444

FBumann opened this issue Apr 17, 2025 · 2 comments

Comments

@FBumann
Copy link
Contributor
FBumann commented Apr 17, 2025

Non linear constraints can greatly improve the capabilities of a MILP-Model --> MIQP.
The ability to use these kinds of constraints can be found in the linopy docs, but I only see the option to form a QuadraticExpression. But these cannot be used to from proper constraints and therefore constraint a variable.
This seems rather useless to me. Or am I overlooking something obvious?

@FBumann
Copy link
Contributor Author
FBumann commented Apr 18, 2025

I want to add that I would be ready to work on this functionality. But you might be able to give me a head start by sharing your past thoughts or attempts

@FabianHofmann
Copy link
Collaborator

hey @FBumann, thanks of raising this and your willingness to support, this is always great to see in the open-source world :) there is the possibility to formulate quadratic objectives already, however quadratic constraints are not supported (yet). I would require to scan through the code in constraints.py and io.py and make an estimate what we would need to update. for the moment I cannot say how much effort this would be

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
0