Commit 23e256a9 authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Allow solver time or iteration limit breach if the solution is still feasible

parent 428ad60e
......@@ -159,7 +159,7 @@ $include '%input_dir%/modelsInit.gms'
* === Simulation ==============================================================
// Macro for checking solve and model status
$macro checkSolveStatus(mdl) \
if(mdl.solveStat > 1 or not (mdl.modelStat = 1 or mdl.modelStat = 8), \
if(mdl.solveStat > 3 or not (mdl.modelStat = 1 or mdl.modelStat = 8), \
execError = execError + 1 \
)
......
......@@ -14,12 +14,12 @@ All notable changes to this project will be documented in this file.
- Replaced commodity set with a parameter usePrice and updated results calculation related to it
- Replaced q_energyMax, q_energyShareMax and q_energyShareMin with q_energyLimit and q_energyShareLimit
- Removing Eps values from r_reserve results table
- Allow solver resource or iteration limit interrupt if the solution is feasible
### Fixed
- Including start-up fuel consumption in q_balance
- Updated start-up cost and start-up emission calculation
- output_dir command line argument was missing quotes in the code and directories with space did not work
- Checking solve and model status
## 1.5 - 2021-10-05
### Added
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment