Quadratic Constraints and/or objective
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 257
- Forks
- 87
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 29
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linopy documentation for QuadraticExpression and the current constraint-building API. Determine how quadratic constraints and objectives are expected to be represented, then define the supported behavior and validation needed for a complete implementation; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100