Filter Content By
tolist ( )
Return the quadratic constraints associated with this matrix quadratic constraint as a list of individual QConstr objects.
List of QConstr objects.
mqc = model.addConstr(x * y <= b) qconstrlist = mqc.tolist() # Do something with the QConstr correponding to mqc print(qconstrlist)