bernstein: rework testing framework to not depend on order of GiNaC expressions
[barvinok.git] / bernstein / examples / basicLinear.matrix
blob095f189ac3937ff5d37fe4257a9c36205d5f5526
1 4 6
3 #s  n  m  P Q cte
4  1  1  0  0 0  -1  # n >= 1
5  1 -1  1  0 0   0  # m >= n  
6  1  0 -1  1 0   0  # p >= m
7  1  0 -1  0 1   0  # q >= m
9 0 4
11 n m P Q
15 # the expected solution for verification
18 3 4
19    1    1   -1    0 
20    1    0    1   -1 
21    1    0    0    1 
23 {1,Q}
24 {1}
25 {Q}
27 3 4
28    1   -1    1    0 
29    1    1    0   -1 
30    1    0    0    1 
32 {1,P}
33 {1}
34 {P}