picos.constraints.con_extremum

Implementation of ExtremumConstraint.

Classes

class picos.constraints.con_extremum.ExtremumConstraint(extremum, relation, rhs)[source]

Bases: picos.constraints.constraint.Constraint

Bound on a maximum (minimum) over convex (concave) functions.

class Conversion[source]

Bases: picos.constraints.constraint.ConstraintConversion

Bound on a maximum or minimum of functions conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod predict(subtype, options)[source]

Implement predict.

__init__(extremum, relation, rhs)[source]

Construct a ExtremumConstraint.

Parameters
  • extremum (Extremum) – Left hand side expression.

  • relation (str) – Constraint relation symbol.

  • rhs (AffineExpression) – Right hand side expression.