Is it possible to add a XOR Equation Constraint to a CP-Solver model in OR-Tools?

前端 未结 0 1494
说谎
说谎 2020-12-02 01:11

I\'m trying to solve a problem with Google OR-Tools\'s CP-Solver. Is it possible to add a constraint like this: x1 XOR x2 XOR x3 == 0 Thanks in advance.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题