Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_all_solutions is buggy? #87

Open
kmohanram opened this issue Jun 10, 2024 · 0 comments
Open

get_all_solutions is buggy? #87

kmohanram opened this issue Jun 10, 2024 · 0 comments

Comments

@kmohanram
Copy link

kmohanram commented Jun 10, 2024

import numpy as np
import exact_cover as ec
from exact_cover.io import DTYPE_FOR_ARRAY
data = np.array([[0,0,1],[0,1,0],[1,0,1],[0,0,1],[0,0,1],[1,0,1],[0,1,0],[0,0,1],[0,1,1],[1,0,0]], dtype=DTYPE_FOR_ARRAY)
print(ec.get_exact_cover(data))

This simple example above does not include the solution (9,1,0) and incorrectly includes (9,1) ... can someone kindly look into this? Thank you.

@jwg4 jwg4 mentioned this issue Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant