-
Notifications
You must be signed in to change notification settings - Fork 4
Fix #765: Upgrade 17 decision models to optimization (Group A + B) #771
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
base: main
Are you sure you want to change the base?
Changes from all commits
3c851b2
1dc2e8b
47b5d8f
3029569
675bcf4
8793ce4
3c3e49e
2f46676
85d0457
f7cd5d4
d8be6cd
6174fd1
c5efb96
47bb986
9345d9d
52a5585
97abfbc
2d0a7b9
0d0e253
6013fa0
cc5521a
b5d7c57
18c0fe6
62a00c7
b70a7fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -218,7 +218,7 @@ Flags by problem type: | |||||
| MIS, MVC, MaxClique, MinDomSet --graph, --weights | ||||||
| MaxCut, MaxMatching, TSP, BottleneckTravelingSalesman --graph, --edge-weights | ||||||
| LongestPath --graph, --edge-lengths, --source-vertex, --target-vertex | ||||||
| ShortestWeightConstrainedPath --graph, --edge-lengths, --edge-weights, --source-vertex, --target-vertex, --length-bound, --weight-bound | ||||||
| ShortestWeightConstrainedPath --graph, --edge-lengths, --edge-weights, --source-vertex, --target-vertex, --weight-bound | ||||||
| MaximalIS --graph, --weights | ||||||
| SAT, NAESAT --num-vars, --clauses | ||||||
| KSAT --num-vars, --clauses [--k] | ||||||
|
|
@@ -231,7 +231,7 @@ Flags by problem type: | |||||
| GraphPartitioning --graph | ||||||
| GeneralizedHex --graph, --source, --sink | ||||||
| IntegralFlowWithMultipliers --arcs, --capacities, --source, --sink, --multipliers, --requirement | ||||||
| MinimumCutIntoBoundedSets --graph, --edge-weights, --source, --sink, --size-bound, --cut-bound | ||||||
| MinimumCutIntoBoundedSets --graph, --edge-weights, --source, --sink, --size-bound | ||||||
| HamiltonianCircuit, HC --graph | ||||||
| LongestCircuit --graph, --edge-weights, --bound | ||||||
|
||||||
| LongestCircuit --graph, --edge-weights, --bound | |
| LongestCircuit --graph, --edge-weights |
Copilot
AI
Mar 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The --bound flag docstring still mentions models that no longer take a bound (e.g., LongestCircuit, LongestCommonSubsequence, MultipleCopyFileAllocation). This makes pred create help misleading after the optimization upgrade; please remove those models from this description (and consider deleting the flag entirely if nothing uses it anymore).
| /// Bound parameter (lower bound for LongestCircuit; upper or length bound for BoundedComponentSpanningForest, GroupingBySwapping, LengthBoundedDisjointPaths, LongestCommonSubsequence, MultipleCopyFileAllocation, MultipleChoiceBranching, RootedTreeArrangement, RuralPostman, or StringToStringCorrection) | |
| /// Bound parameter (upper or length bound for BoundedComponentSpanningForest, GroupingBySwapping, LengthBoundedDisjointPaths, MultipleChoiceBranching, RootedTreeArrangement, RuralPostman, or StringToStringCorrection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SWCP example still uses
--length-bound, but the CLI flags list above (and the model upgrade) removed that parameter. This example should be updated to remove--length-bound(and keep only--weight-bound) so it remains runnable.