Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
MGenConstr.tolist()
tolist ( )
Return the general constraints associated with this matrix general constraint as a list of individual GenConstr objects.
Return value:
List of GenConstr objects.
Example usage:
mgc = model.addGenConstrIndicator(z, True, A @ x <= b) genconstrlist = mgc.tolist()