Affected Component
Optimization problem construction (simulation/)
Type of Change
Major: backward-incompatible change or major new feature (e.g. rolling horizon)
Description
Introduce the possibility of having a 2-stage heuristic for solving of the dispatch problems with integer variables.
- The user should declare inside optim-config.yml the name of the heuristic used for each model. The name of the heuristic refers to a Python method hardcoded in a dedicated submodule of GemsPy.
- The user should declare inside system.yml the integer-strategy:
exact (default) | relaxed | heuristic
The code modification should be done "below" the function run_block of session.py, so that the changes directly benefit to run_frontal, run_parallel and run_sequential.
Results Impact
No impact if the integer-strategy is exact. Else, potential impacts.
Validation Strategy
- Parallel run with Legacy Antares Simulator for very simple studies
Process Checklist
Step 1 — Issue Creation
Step 2 — Triage
Step 3 — Impact Analysis ⚠️ extended results analysis required
Step 4 — Implementation
Step 5 — Testing & Validation
Step 6 — CI Validation
Step 7 — Review & Merge
Step 8 — Versioning
Step 9 — Supporting Files
Step 10 — Release
Affected Component
Optimization problem construction (simulation/)
Type of Change
Major: backward-incompatible change or major new feature (e.g. rolling horizon)
Description
Introduce the possibility of having a 2-stage heuristic for solving of the dispatch problems with integer variables.
exact(default) |relaxed|heuristicThe code modification should be done "below" the function run_block of session.py, so that the changes directly benefit to
run_frontal,run_parallelandrun_sequential.Results Impact
No impact if the integer-strategy is
exact. Else, potential impacts.Validation Strategy
Process Checklist
Step 1 — Issue Creation
Step 2 — Triage
Step 3 — Impact Analysis⚠️ extended results analysis required
Step 4 — Implementation
Step 5 — Testing & Validation
Step 6 — CI Validation
mypy)black,isort)pytest)Step 7 — Review & Merge
Step 8 — Versioning
pyproject.tomlversion bumpedStep 9 — Supporting Files
AGENTS.mdreviewed for impact and updated if neededStep 10 — Release