picos.constraints.con_absolute

Implementation of AbsoluteValueConstraint.

Outline

Classes

AbsoluteValueConstraint

Upper bound on an absolute value.

Classes

AbsoluteValueConstraint

class picos.constraints.con_absolute.AbsoluteValueConstraint(signedScalar, upperBound)[source]

Bases: picos.constraints.constraint.Constraint

Upper bound on an absolute value.

class AffineConversion[source]

Bases: picos.constraints.constraint.ConstraintConversion

Upper bound on an absolute value to affine inequality conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod dual(auxVarPrimals, auxConDuals, options)[source]

Implement dual.

classmethod predict(subtype, options)[source]

Implement predict.

__init__(signedScalar, upperBound)[source]

Construct an AbsoluteValueConstraint.

Parameters