Model.getQConstrs()

getQConstrs ( )

Retrieve a list of all quadratic constraints in the model.

Return value:

All quadratic constraints in the model.

Example usage:

  qconstrs = model.getQConstrs()
  qc0 = qconstrs[0]