`R/eliminate_pwl.R`

`EliminatePwl.cummax_canon.Rd`

EliminatePwl canonicalizer for the cumulative max atom

`EliminatePwl.cummax_canon(expr, args)`

- expr
An Expression object

- args
A list of Constraint objects

A canonicalization of the piecewise-lienar atom constructed from a cumulative max atom where the objective function consists of the variable Y which is of the same dimension as the original expression and the constraints consist of row/column constraints depending on the axis