So far, REMIND aborted after the maximum number of consecutive infeasibilities/failures (cm_abortOnConsecFail) was reached in at least one region. Now, it switches from parallel to serial (debug) mode after the maximum number was reached and tries to solve (only the infeasible regions, see #1522). If all regions become magically feasible in the debug mode, it continues in parallel mode. If not, it finally aborts. All this is done within GAMS, not in R, to keep the full information from the previous nash and solver iteration. However, this also means that for the duration of the debug mode, which only runs on one core, the other cores are idle.
Purpose of this PR
For Nash only:
So far, REMIND aborted after the maximum number of consecutive infeasibilities/failures (
cm_abortOnConsecFail
) was reached in at least one region. Now, it switches from parallel to serial (debug) mode after the maximum number was reached and tries to solve (only the infeasible regions, see #1522). If all regions become magically feasible in the debug mode, it continues in parallel mode. If not, it finally aborts. All this is done within GAMS, not in R, to keep the full information from the previous nash and solver iteration. However, this also means that for the duration of the debug mode, which only runs on one core, the other cores are idle.Type of change
Checklist:
remind2
where it was neededforbiddenColumnNames
in readCheckScenarioConfig.R in case the PR leads to deprecated switchesFAIL 0
in the output ofmake test
)CHANGELOG.md
has been updated correctlyFurther information (optional):