EliminatePwl.abs_canon: EliminatePwl canonicalizer for the absolute atom

View source: R/eliminate_pwl.R

EliminatePwl.abs_canonR 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.


CVXR documentation built on June 27, 2024, 5:11 p.m.