Question about support for Non-Linear Programs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 257
- Forks
- 87
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 29
Description
Thanks for your efforts with linopy, they are much appreciated :)
I know this project has linear in its name, but it does support some non-linearity in programs. I would really like to use linopy to replace the gams dependency of message_ix over the medium term, but I was recently made aware that parts of our code supply the NLP option to the gams solver (for which we mostly use cplex at the moment, I think):
SOLVE MESSAGE_MACRO MAXIMIZING UTILITY USING NLP ;
So I'm now wondering: is this already supported in linopy using either cplex or highs as the solver? If not, do you have any plans to add support?
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 reading the linked message_ix/model/MACRO/macro_solve.gms section and the referenced GAMS solver-model documentation to define the NLP requirement. Then inspect linopy's solver support for CPLEX and HiGHS. Done means establishing whether the required non-linear programs are supported and, if not, documenting a concrete support plan or scope.
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
- Needs clarification
- Newbie friendliness
- 25/100