MathConstraint-Easy / _raw /all_interval_n3__v10_nh.xml
MathConstraint's picture
Upload folder using huggingface_hub
a9e7957 verified
<instance format="XCSP3" type="CSP">
<variables>
<array id="x" size="[3]"> 0..2 </array>
<array id="d" size="[2]"> 1 2 </array>
</variables>
<constraints>
<allDifferent> x[] </allDifferent>
<allDifferent> d[0] d[1] </allDifferent>
<group>
<intension> eq(%0,dist(%1,%2)) </intension>
<args> d[0] x[1] x[0] </args>
<args> d[1] x[2] x[1] </args>
</group>
</constraints>
</instance>