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
* Add plan for #402: SubsetSum model
* Implement #402: Add SubsetSum model
- Add SubsetSum satisfaction problem to src/models/misc/
- Binary variables: x_i = 1 if element i is in the subset
- Evaluates true iff selected subset sums to target B
- Complexity: 2^(n/2) via Horowitz-Sahni meet-in-the-middle
- CLI: pred create SubsetSum --sizes 3,7,1,8,2,4 --target 11
- 15 unit tests covering basic, edge cases, brute force, serialization
- Regenerated problem schemas JSON
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: remove plan file after implementation
* Regenerate reduction_graph.json and problem_schemas.json
Address Copilot review comment: ensure SubsetSum appears in both
generated JSON docs files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add CLI format hints and example for SubsetSum
Fix type_format_hint() to handle Vec<i64> and i64 types, and add
SubsetSum entry to example_for() so `pred create SubsetSum` shows
a helpful usage example.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: regenerate corrupted reduction_graph.json and apply rustfmt
- Fix corrupted reduction_graph.json that had stdout text mixed into the file
- Apply rustfmt formatting to two example files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: GiggleLiu <cacate0129@gmail.com>
The structural reviewer also completed — all 16 model checks and 14 rule checks passed with no critical issues. The pipeline for issue #126 is complete.
0 commit comments