picos.constraints.con_dummy

Implementation of DummyConstraint.

Classes

class picos.constraints.con_dummy.DummyConstraint(x)[source]

Bases: ConicConstraint

An explicit way to not put a bound on an affine expression.

This is produced when declaring an expression a member of the trivial TheField cone.

A constraint of this type can be used to pass a variable to a solver that does not otherwise appear in the problem.

__init__(x)[source]

Construct a DummyConstraint.

property conic_membership_form[source]

Implement for ConicConstraint.