iiasa / iiasa/message_ix

Using solver Gurobi instead of CPLEX

Open
#576 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discuss docs
Dominant language
Jupyter Notebook
Stars
150
Forks
178
Avg merge
17h 32m
Merged PRs (30d)
2

Description

As reported by @tomoki-nishi, running `message_ix` using the solver Gurobi instead of CPLEX is working with adjustments to the GAMS formulation:

https://github.com/iiasa/message_ix/blob/1680452d53ed646eca1b84e7446da0f255d8351c/message_ix/model/MESSAGE/auxiliary_settings.gms#L23

To make this transparent to other users, we can extend the documentation accordingly.

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 reviewing the GAMS formulation at message_ix/model/MESSAGE/auxiliary_settings.gms around line 23 and determine which adjustments are needed when using Gurobi instead of CPLEX. Locate the relevant documentation section and document the solver-specific setup so users can follow it without relying on an undocumented workaround.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.