Here, I create two variables which belong to two different model, respectively, like:
m1 = Model()
m2 = Model()
How can I know x and y belong to which model?
I already know if i use the code following:
I may get the information about model m1.
but if i get a AffExpr, like z = x1 + x2, x1 and x2 belong to model m1
z.model will push a error
Can some function can show the model information about AffExpr ?