Learn R Programming

CVXR (version 1.0)

EliminatePwl.max_entries_canon: EliminatePwl canonicalizer for the max entries atom

Description

EliminatePwl canonicalizer for the max entries atom

Usage

EliminatePwl.max_entries_canon(expr, args)

Arguments

expr

An '>Expression object

args

A list of '>Constraint objects

Value

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.