EliminatePwl.abs_canon {CVXR}R Documentation

EliminatePwl canonicalizer for the absolute atom

Description

EliminatePwl canonicalizer for the absolute atom

Usage

EliminatePwl.abs_canon(expr, args)

Arguments

expr

An Expression object

args

A list of Constraint objects

Value

A canonicalization of the picewise-lienar atom constructed from an absolute atom where the objective function consists of the variable that is of the same dimension as the original expression and the constraints consist of splitting the absolute value into two inequalities.


[Package CVXR version 1.0-10 Index]