declanvk / dancing-links Goto Github PK
View Code? Open in Web Editor NEWExact cover solver using dancing links technique
License: Apache License 2.0
Exact cover solver using dancing links technique
License: Apache License 2.0
Using your library to solve a sudoku, I have found the following bug. When I start you solver for sudoku 300080900000340000008005600500104070002009010003000040005001200000000000070008090 , the program crashed with such error: thread 'main' panicked at 'assertion failed: !column.is_covered', C:\Users\User.cargo\registry\src\github.com-1ecc6299db9ec823\dancing-links-0.2.0\src\grid.rs:397:9 . I have no idea, why it occurs. If it is important, the above sudoku has an answer - 351786924697342185428915637569134872742859316813267549935471268284693751176528493.
CI is failing due to an issue with Zlib
:
/home/runner/.cargo/bin/cargo test
Updating crates.io index
warning: spurious network error (2 tries remaining): bad packet length; class=Net (12)
Warning: warning: spurious network error (1 tries remaining): bad packet length; class=Net (12)
error: failed to get `bumpalo` as a dependency of package `dancing-links v0.2.0 (/home/runner/work/dancing-links/dancing-links)`
Error: failed to get `bumpalo` as a dependency of package `dancing-links v0.2.0 (/home/runner/work/dancing-links/dancing-links)`
Caused by:
failed to load source for dependency `bumpalo`
Caused by:
Unable to update registry `[https://github.com/rust-lang/crates.io-index`](https://github.com/rust-lang/crates.io-index%60)
Caused by:
failed to fetch `[https://github.com/rust-lang/crates.io-index`](https://github.com/rust-lang/crates.io-index%60)
Caused by:
error reading from the zlib stream; class=Zlib (5)
Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Searching for the issue turned up rust-lang/cargo#10303, which is an open issue. The work around seems to be adding CARGO_NET_GIT_FETCH_WITH_CLI=true
to the environment variables.
Its not clear to me if this issue would also be fixed with a newer version of rust?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.