Commit c989ca0a authored by jussi ikäheimo's avatar jussi ikäheimo
Browse files

Third attempt.

parent 17042f75
......@@ -217,14 +217,14 @@ loop(ms(mSolve, s),
v_online_LP.up(unit, sft(s, f, t))${uft_onlineLP(unit, f, t) and not unit_investLP(unit)}
= p_unit(unit, 'unitCount')
* [1${not active(mSolve, 'checkUnavailability')}
+ (1 - ts_unit(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')}
+ (1 - ts_unit_(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')}
]
;
// MIP variant
v_online_MIP.up(unit, sft(s, f, t))${uft_onlineMIP(unit, f, t) and not unit_investMIP(unit)}
= p_unit(unit, 'unitCount')
* [1${not active(mSolve, 'checkUnavailability')}
+ (1 - ts_unit(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')}
+ (1 - ts_unit_(unit, 'unavailability', f, t))${active(mSolve, 'checkUnavailability')}
]
;
......
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