I am using choco to solve a CSP , and one of my constraints is that the sum of one variables Σ Xik = Σ Xkj for i=j=k=1…N. How do I accomplish this? thank you for your help.
Asked
Active
Viewed 73 times
0
-
What does "doesn't work" mean? Please read the [Help Center](https://stackoverflow.com/help) article "[How do I ask a good question?](https://stackoverflow.com/help/how-to-ask)" – Andreas Jan 30 '19 at 16:53
-
in other words model.sum does not allow to model two constraints as I did. So the question is what is another way of doing it – Morad Jan 30 '19 at 18:31
-
1**Edit** the question and clarify it. – Andreas Jan 30 '19 at 19:04
-
I formulated my question I hope it is clearer – Morad Jan 31 '19 at 09:36