Dcp2Cone canonicalizer for the indicator atom

Dcp2Cone.indicator_canon(expr, args)

Arguments

expr

An Expression object

args

A list of Constraint objects

Value

A cone program constructed from an indicator atom and where 0 is the objective function with the given constraints in the function.