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
A Rust library for NP-hard problem definitions and reductions.
9
-
10
-
## Features
11
-
12
-
-**18+ Problem Types**: Implementations of classic NP-hard problems
13
-
-**Type-Safe Reductions**: Compile-time verified problem transformations
14
-
-**Graph Abstraction**: Generic `Graph` trait with `SimpleGraph` and `UnitDiskGraph` implementations
15
-
-**Multiple Solvers**: BruteForce and ILP (HiGHS) solvers
16
-
-**Topology Types**: HyperGraph and UnitDiskGraph for specialized constraints
17
-
-**File I/O**: JSON serialization for all problem types
9
+
A Rust library for NP-hard problem definitions and reductions. We aim to implement >100 NP-hard problems and reductions rule between them, under the help of AI.
assert_eq!(solution.iter().sum::<usize>(), 2); // Max IS size is 2
40
+
```
66
41
67
42
## Development
68
43
@@ -81,19 +56,11 @@ make clean # Clean build artifacts
81
56
make check # Quick check before commit (fmt + clippy + test)
82
57
```
83
58
84
-
### Using Cargo directly
85
-
86
-
```bash
87
-
cargo build --all-features
88
-
cargo test --all-features
89
-
cargo doc --all-features --no-deps --open
90
-
```
91
-
92
59
## Contributing
93
60
94
61
### Authorship Recognition
95
62
96
-
**Contribute 10 non-trivial reduction rules and you will be automatically added to the author list of the paper.**
63
+
**Contribute 10 non-trivial reduction rules and you will be automatically added to the author list of the paper.** To facilitate the development, we provide the AI tools to help developers implement their *plans*. Developers still need to carefully design the test cases and verify the correctness of the reduction rules.
0 commit comments