iiasa / iiasa/message_ix

Warm start from previously solved scenario

Open
#569 4 comments 0 reactions 0 assignees View on GitHub
enh
Dominant language
Jupyter Notebook
Stars
150
Forks
178
Avg merge
17h 32m
Merged PRs (30d)
2

Description

This issue would address potential solve speedups (e.g., I am seeing week-long solve times at the moment for some scenarios).

The idea is straightforward - for a scenario which has a solution, provide this existing solution as a "warm start" (i.e., providing a starting basis) for a new scenario run.

In principle, all components for this are available, but need to be connected properly. The steps would be as follows:

1. declare base scenario to use
2. read base scenario solution
3. construct warm-start basis from solution
4. provide new basis to solver (which may require writing a file to disk)

This could be one way to greatly speed up the existing global message experimental set up (which requires multiple sequential solves)

cc @OFR-IIASA @khaeru

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; begin by tracing how a solved scenario is declared and how its solution reaches the solver. Map the four listed steps, then confirm completion when a new scenario accepts the prior solution as a warm start and solve performance can be compared.

Written by the indexing model from the issue text.

Assessment

Domain
backend, performance
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.