Changes between Version 2 and Version 3 of Ticket #5104


Ignore:
Timestamp:
2018-09-01T10:44:48Z (7 years ago)
Author:
Vitalij Ruge
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5104 – Description

    v2 v3  
    1313
    1414- 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) = 1
     15- positiveMax(-cref, eps) = -cref if variable(cref).max <= 0 // test: positiveMax(-(-1), eps) = 1
    1616
    1717These additional optimizations would allows to remove unnecessary positiveMax function calls, hence eliminating unnecessary hard nonlinearities from the model equations.