little note about 'csp' documentation
Hi there
Looks like the 'csp' documentation (see link below) needs an update.
If you run the given example (of that page) using the given code :
import dwavebinarycsp.factories.constraint.sat as sat
csp = sat.random_2in4sat(6, 2)
That gives an error "AttributeError: 'module' object has no attribute 'random_2in4sat'". Change it to the following:
import dwavebinarycsp.factories as sat
csp = sat.random_2in4sat(6, 2)
Comments
Hello Ahmed,
Thank you for pointing this out. I will pass the comments along to our tools documentation team.
Please sign in to leave a comment.