picos.expressions.cone

Backend for mathematical set type implementations.

Outline

Classes

Cone

Abstract base class for a cone.

Classes

Cone

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

Bases: picos.expressions.set.Set

Abstract base class for a cone.

__init__(dim, typeStr, symbStr)[source]

Perform basic initialization for Cone instances.

Parameters
  • or NoneType dim (int) – 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.