picos.constraints.con_simplex

Implementation of SimplexConstraint.

Outline

Classes

SimplexConstraint

(Symmetrized, truncated) simplex membership constraint.

Classes

SimplexConstraint

class picos.constraints.con_simplex.SimplexConstraint(simplex, element)[source]

Bases: picos.constraints.constraint.Constraint

(Symmetrized, truncated) simplex membership constraint.

class AffineConversion[source]

Bases: picos.constraints.constraint.ConstraintConversion

Simplex membership to affine constraint conversion.

classmethod convert(con, options)[source]

Implement convert.

classmethod predict(subtype, options)[source]

Implement predict.

__init__(simplex, element)[source]

Construct a SimplexConstraint.

Parameters

element (AffineExpression) – Expression in the simplex.