You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm reading a CNF file with load_cnf, but the function returns a csp object without constraints
Steps To Reproduce
In [1]: import dwavebinarycsp as dbcsp
In [2]: cnf_file = "nae3sat_ratio210_size10_inst1.cnf"
In [3]: with open(cnf_file, 'r') as fp:
...: csp = dbcsp.cnf.load_cnf(fp)
...:
In [4]: csp.constraints
Out[4]: []
Description
I'm reading a CNF file with
load_cnf
, but the function returns a csp object without constraintsSteps To Reproduce
nae3sat_ratio210_size10_inst1.cnf.zip
Expected Behavior
I would expect the
csp
object to have the constraints in the fileEnvironment
The text was updated successfully, but these errors were encountered: