Documentation


Column.getConstr()

getConstr ( i )

Retrieve the constraint object from a single term in the column.

Return value:

Constraint for the term at index i in the column.

Example usage:

  col = Column([1.0, 2.0], [c0, c1])
  print(col.getConstr(1))