picos.constraints.con_dummy

Implementation of DummyConstraint.

Outline

Classes

DummyConstraint

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

Classes

DummyConstraint

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

Bases: picos.constraints.constraint.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

Implement for ConicConstraint.