PyPSA / PyPSA/linopy

GAMS Solvers compatibility

Open
#461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement solver interface
Dominant language
Python
Stars
257
Forks
87
Avg merge
1d 3h
Merged PRs (30d)
29

Description

It would be great if we could somehow export the linopy model as a GAMS model. There's a bunch of people who only have access to commercial solvers through GAMS. It obviously won't be an optimal process but Pyomo is able to export the model as a GAMS model to be solved Link to Class. Something similar to this could be helpful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Pyomo GAMS.py implementation and then inspect linopy's model export interfaces. Determine how a linopy model should be represented for GAMS compatibility and define completion around a working export path comparable to Pyomo's support.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.