SymTruncSimplexConstraint

class picos.constraints.SymTruncSimplexConstraint(simplex, element)

Bases: picos.constraints.MetaConstraint

Attributes Summary

EQ

GE

LE

constraints

dual

prefix

size

slack

variableNames

variables

Methods Summary

constring()

copy_with_new_vars(newVars[, newCons])

delete()

expressions()

is_complex()

is_decreasing()

Whether the constraint states exactly that the left hand side is greater or equal than the right hand side.

is_equality()

Whether the constraints states the equality between the left hand side and the right hand side.

is_increasing()

Whether the constraint states exactly that the left hand side is smaller or equal than the right hand side.

is_inequality()

Whether the constraints states an inequality between the left hand side and the right hand side.

is_meta()

is_real()

keyconstring()

Attributes Documentation

EQ = '='
GE = '>'
LE = '<'
constraints
dual
prefix
size
slack
variableNames
variables

Methods Documentation

constring()
copy_with_new_vars(newVars, newCons=None)
delete()
expressions()
is_complex()
is_decreasing()

Whether the constraint states exactly that the left hand side is greater or equal than the right hand side.

is_equality()

Whether the constraints states the equality between the left hand side and the right hand side.

is_increasing()

Whether the constraint states exactly that the left hand side is smaller or equal than the right hand side.

is_inequality()

Whether the constraints states an inequality between the left hand side and the right hand side.

is_meta()
is_real()
keyconstring()