EliminatePwl canonicalizer for the max entries atom
EliminatePwl canonicalizer for the max entries atom
EliminatePwl.max_entries_canon(expr, args)
Arguments
expr: An Expression object
args: A list of Constraint objects
Returns
A canonicalization of the piecewise-lienar atom constructed from the max entries atom where the objective function consists of the variable t of the same size as the original expression and the constraints consist of a vector multiplied by a vector of 1's.