Conversation
Implement the internal macro data compression problem (GJ SR23) with direct ILP reduction, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add W type parameter to MinimumTardinessSequencing: W=One for unit-length tasks (existing behavior), W=usize for arbitrary task lengths. Includes ILP reduction for both variants, canonical examples, and updated tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement the weighted tardy task scheduling problem (GJ SS3) with direct ILP reduction, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement the scheduling feasibility problem with compiler-class setup times (GJ SS6) with direct ILP reduction, CLI support, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement multiprocessor preemptive scheduling (GJ SS12) with binary time-slot assignment, direct ILP<i32> reduction, CLI support, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implements the Open Shop Scheduling optimization model (minimize makespan) with a direct ILP reduction using disjunctive formulation (binary ordering variables + integer start times + makespan objective). Canonical example uses the 4 jobs × 3 machines instance with true optimal makespan = 8. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implement the quadratic congruences feasibility problem (GJ AN1) with brute-force solver, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement the simultaneous incongruences feasibility problem (GJ AN2) with brute-force solver, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement the discrete Nash equilibrium existence problem (GJ AN15) with brute-force solver, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement directed Hamiltonian path feasibility problem with ILP reduction, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement hypergraph 2-colorability / set splitting feasibility problem (GJ SP4) with ILP reduction, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement the fixed-endpoint Hamiltonian path problem (GJ Chapter 3) with brute-force solver, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement minimum maximal matching / minimum edge dominating set (GJ GT10) with ILP reduction, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement vertex arboricity / partition into forests feasibility problem (GJ GT14) with brute-force solver, CLI support, canonical example, and paper entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #960 +/- ##
==========================================
+ Coverage 97.91% 98.01% +0.09%
==========================================
Files 673 764 +91
Lines 72756 80775 +8019
==========================================
+ Hits 71240 79169 +7929
- Misses 1516 1606 +90 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts: # problemreductions-cli/src/commands/create.rs # src/models/mod.rs
…ght parameter Replace standalone `usize` weight type with `i32`, which integrates into the existing One → i32 → f64 variant hierarchy. This enables natural edges between MinimumTardinessSequencing<One> and <i32> variants in the reduction graph. Remove now-unnecessary WeightElement and VariantParam impls for usize from types.rs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 30, 2026
Closed
This was referenced Mar 31, 2026
Closed
Closed
Closed
Closed
Closed
Collaborator
Agentic Review ReportStructural CheckBuild Status: All green (test, clippy, fmt-check pass) Model Structural Completeness (37 new models)
Rule Structural Completeness (9 ILP rules)
Overhead Expression Verification
Structural Issues
Quality CheckDesign Principles
HCI (CLI Changes)
Test QualityGood examples:
Issues:
Quality Issues
Agentic Feature TestsVerdict: PASS — 0 critical issues Test Coverage
All 4251 library tests pass. Issues Found
Generated by review-pipeline |
Must-fix:
- S1: Add 4 missing re-exports in models/mod.rs and lib.rs prelude
(QuadraticCongruences, OpenShopScheduling, PreemptiveScheduling,
SequencingWithDeadlinesAndSetUpTimes)
- S2: Add OpenShopScheduling CLI create handler
- S3: Fix DirectedHamiltonianPath→ILP overhead (2n→3n constraints)
- S4/Q1: Fix PreemptiveScheduling→ILP overhead (num_tasks→d_max)
- S5: Fix SequencingWithDeadlinesAndSetUpTimes→ILP overhead
(3*(n-1) → n^2*(n-1) switch detection constraints)
Should-fix:
- S7: Fix MinimumInternalMacroDataCompression→ILP overhead
(2n+1 → n+1 constraints)
- Q2: Fix setup_times field description ("away from" → "to")
- Q3: Extract duplicated decode_permutation to shared misc/mod.rs
Low:
- A1: Remove unused EquilibriumPoint import in create.rs
- A2: Fix redundant closure in create.rs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
zazabap
approved these changes
Mar 31, 2026
Collaborator
zazabap
left a comment
There was a problem hiding this comment.
All review findings addressed in fix commit. CI green. LGTM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Batch implementation of 38 problem models from the Ready column of the project board. Each model includes full implementation with tests, CLI support, canonical examples, and paper entries.
Models added (37 new, 1 generalized):
Algebraic (6)
Formula (3)
Graph (14)
Set (2)
Misc (13)
Notable changes:
MinimumTardinessSequencinggeneralized withWtype parameter (Onefor unit-length,i32for arbitrary lengths)WeightElementandVariantParamimplementations forusizeinsrc/types.rsCloses
Fixes #442, fixes #495, fixes #496, fixes #499, fixes #504, fixes #506, fixes #536, fixes #537, fixes #549, fixes #806, fixes #808, fixes #811, fixes #813, fixes #830, fixes #831, fixes #832, fixes #833, fixes #834, fixes #835, fixes #836, fixes #837, fixes #838, fixes #839, fixes #840, fixes #852, fixes #853, fixes #854, fixes #855, fixes #856, fixes #861, fixes #867, fixes #883, fixes #885, fixes #896, fixes #898, fixes #899, fixes #917, fixes #921
Test plan
make check(fmt + clippy + test) passesmake papercompiles without errors🤖 Generated with Claude Code