Changes between Version 2 and Version 3 of Ticket #5104
- Timestamp:
- 2018-09-01T10:44:48Z (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5104 – Description
v2 v3 13 13 14 14 - positiveMax(cref, eps) = cref if variable(cref).min >= 0 // test: positiveMax(1, eps) = 1 15 - positiveMax(-cref, eps) = cref if variable(cref).max <= 0 // test: positiveMax(-(-1), eps) = 115 - positiveMax(-cref, eps) = -cref if variable(cref).max <= 0 // test: positiveMax(-(-1), eps) = 1 16 16 17 17 These additional optimizations would allows to remove unnecessary positiveMax function calls, hence eliminating unnecessary hard nonlinearities from the model equations.