picos.expressions.cone

Backend for mathematical set type implementations.

Classes

class picos.expressions.cone.Cone(dim, typeStr, symbStr)[source]

Bases: Set

Abstract base class for a cone.

__init__(dim, typeStr, symbStr)[source]

Perform basic initialization for Cone instances.

Parameters
  • dim (int or None) – Fixed member dimensionality, or None.

  • typeStr (str) – Short string denoting the set type.

  • symbStr (str) – Algebraic string description of the set.

property dim

The fixed member dimensionality, or None.

If this is None, the instance represents any finite dimensional version of the cone. Such an abstract cone can not be used to define a ProductCone.

abstract property dual_cone

The dual cone.