Fix Symbol == LinExpr comparisons
[linpy.git] / examples / bac2014.py
1 #!/usr/bin/env python3
2
3 from linpy import *
4
5 x, y, z = symbols('x y z')
6 DF = Eq(x, y) & Eq(z, 6 - 2*x)
7 P = Eq(x + y - 2*z, 0)
8
9 print('DF ∩ P =', DF & P)