@@ -225,6 +225,8 @@ Flags by problem type:
225225 MinimumMultiwayCut --graph, --terminals, --edge-weights
226226 PartitionIntoTriangles --graph
227227 GraphPartitioning --graph
228+ GeneralizedHex --graph, --source, --sink
229+ MinimumCutIntoBoundedSets --graph, --edge-weights, --source, --sink, --size-bound, --cut-bound
228230 HamiltonianCircuit, HC --graph
229231 BoundedComponentSpanningForest --graph, --weights, --k, --bound
230232 UndirectedTwoCommodityIntegralFlow --graph, --capacities, --source-1, --sink-1, --source-2, --sink-2, --requirement-1, --requirement-2
@@ -259,14 +261,19 @@ Flags by problem type:
259261 LCS --strings, --bound [--alphabet-size]
260262 FAS --arcs [--weights] [--num-vertices]
261263 FVS --arcs [--weights] [--num-vertices]
264+ PartitionIntoPathsOfLength2 --graph
265+ ResourceConstrainedScheduling --num-processors, --resource-bounds, --resource-requirements, --deadline
266+ PartiallyOrderedKnapsack --sizes, --values, --capacity, --precedences
262267 QAP --matrix (cost), --distance-matrix
263268 StrongConnectivityAugmentation --arcs, --candidate-arcs, --bound [--num-vertices]
264269 FlowShopScheduling --task-lengths, --deadline [--num-processors]
265270 StaffScheduling --schedules, --requirements, --num-workers, --k
266271 MinimumTardinessSequencing --n, --deadlines [--precedence-pairs]
272+ RectilinearPictureCompression --matrix (0/1), --k
267273 SCS --strings, --bound [--alphabet-size]
268274 StringToStringCorrection --source-string, --target-string, --bound [--alphabet-size]
269275 D2CIF --arcs, --capacities, --source-1, --sink-1, --source-2, --sink-2, --requirement-1, --requirement-2
276+ CBQ --domain-size, --relations, --conjuncts-spec
270277 ILP, CircuitSAT (via reduction only)
271278
272279Geometry graph variants (use slash notation, e.g., MIS/KingsSubgraph):
@@ -283,6 +290,7 @@ Examples:
283290 pred create MIS --graph 0-1,1-2,2-3 --weights 1,1,1
284291 pred create SAT --num-vars 3 --clauses \" 1,2;-1,3\"
285292 pred create QUBO --matrix \" 1,0.5;0.5,2\"
293+ pred create GeneralizedHex --graph 0-1,0-2,0-3,1-4,2-4,3-4,4-5 --source 0 --sink 5
286294 pred create MultipleChoiceBranching/i32 --arcs \" 0>1,0>2,1>3,2>3,1>4,3>5,4>5,2>4\" --weights 3,2,4,1,2,3,1,3 --partition \" 0,1;2,3;4,7;5,6\" --bound 10
287295 pred create StringToStringCorrection --source-string \" 0,1,2,3,1,0\" --target-string \" 0,1,3,2,1\" --bound 2 | pred solve - --solver brute-force
288296 pred create MIS/KingsSubgraph --positions \" 0,0;1,0;1,1;0,1\"
@@ -321,10 +329,10 @@ pub struct CreateArgs {
321329 /// Edge capacities for multicommodity flow problems (e.g., 1,1,2)
322330 #[ arg( long) ]
323331 pub capacities : Option < String > ,
324- /// Source vertex for path-based graph problems
332+ /// Source vertex for path-based graph problems and MinimumCutIntoBoundedSets
325333 #[ arg( long) ]
326334 pub source : Option < usize > ,
327- /// Sink vertex for path-based graph problems
335+ /// Sink vertex for path-based graph problems and MinimumCutIntoBoundedSets
328336 #[ arg( long) ]
329337 pub sink : Option < usize > ,
330338 /// Required number of paths for LengthBoundedDisjointPaths
@@ -342,10 +350,10 @@ pub struct CreateArgs {
342350 /// Number of variables (for SAT/KSAT)
343351 #[ arg( long) ]
344352 pub num_vars : Option < usize > ,
345- /// Matrix for QUBO (semicolon-separated rows, e.g., "1,0.5;0.5,2" )
353+ /// Matrix input (semicolon-separated rows; use `pred create <PROBLEM>` for problem-specific formats )
346354 #[ arg( long) ]
347355 pub matrix : Option < String > ,
348- /// Number of colors for KColoring
356+ /// Shared integer parameter (use `pred create <PROBLEM>` for the problem-specific meaning)
349357 #[ arg( long) ]
350358 pub k : Option < usize > ,
351359 /// Generate a random instance (graph-based problems only)
@@ -471,6 +479,18 @@ pub struct CreateArgs {
471479 /// Directed arcs for directed graph problems (e.g., 0>1,1>2,2>0)
472480 #[ arg( long) ]
473481 pub arcs : Option < String > ,
482+ /// Size bound for partition sets (for MinimumCutIntoBoundedSets)
483+ #[ arg( long) ]
484+ pub size_bound : Option < usize > ,
485+ /// Cut weight bound (for MinimumCutIntoBoundedSets)
486+ #[ arg( long) ]
487+ pub cut_bound : Option < i32 > ,
488+ /// Item values (e.g., 3,4,5,7) for PartiallyOrderedKnapsack
489+ #[ arg( long) ]
490+ pub values : Option < String > ,
491+ /// Precedence pairs (e.g., "0>2,0>3,1>4") for PartiallyOrderedKnapsack
492+ #[ arg( long, alias = "item-precedences" ) ]
493+ pub precedences : Option < String > ,
474494 /// Distance matrix for QuadraticAssignment (semicolon-separated rows, e.g., "0,1,2;1,0,1;2,1,0")
475495 #[ arg( long) ]
476496 pub distance_matrix : Option < String > ,
@@ -489,13 +509,19 @@ pub struct CreateArgs {
489509 /// Precedence pairs for MinimumTardinessSequencing (e.g., "0>3,1>3,1>4,2>4")
490510 #[ arg( long) ]
491511 pub precedence_pairs : Option < String > ,
512+ /// Resource bounds for ResourceConstrainedScheduling (comma-separated, e.g., "20,15")
513+ #[ arg( long) ]
514+ pub resource_bounds : Option < String > ,
515+ /// Resource requirements for ResourceConstrainedScheduling (semicolon-separated rows, each row comma-separated, e.g., "6,3;7,4;5,2")
516+ #[ arg( long) ]
517+ pub resource_requirements : Option < String > ,
492518 /// Task lengths for FlowShopScheduling (semicolon-separated rows: "3,4,2;2,3,5;4,1,3")
493519 #[ arg( long) ]
494520 pub task_lengths : Option < String > ,
495- /// Deadline for FlowShopScheduling or MultiprocessorScheduling
521+ /// Deadline for FlowShopScheduling, MultiprocessorScheduling, or ResourceConstrainedScheduling
496522 #[ arg( long) ]
497523 pub deadline : Option < u64 > ,
498- /// Number of processors/machines for FlowShopScheduling or MultiprocessorScheduling
524+ /// Number of processors/machines for FlowShopScheduling, MultiprocessorScheduling, or ResourceConstrainedScheduling
499525 #[ arg( long) ]
500526 pub num_processors : Option < usize > ,
501527 /// Binary schedule patterns for StaffScheduling (semicolon-separated rows, e.g., "1,1,0;0,1,1")
@@ -510,6 +536,15 @@ pub struct CreateArgs {
510536 /// Alphabet size for LCS, SCS, or StringToStringCorrection (optional; inferred from the input strings if omitted)
511537 #[ arg( long) ]
512538 pub alphabet_size : Option < usize > ,
539+ /// Domain size for ConjunctiveBooleanQuery
540+ #[ arg( long) ]
541+ pub domain_size : Option < usize > ,
542+ /// Relations for ConjunctiveBooleanQuery (format: "arity:tuple1|tuple2;arity:tuple1|tuple2")
543+ #[ arg( long) ]
544+ pub relations : Option < String > ,
545+ /// Conjuncts for ConjunctiveBooleanQuery (format: "rel:args;rel:args" where args use v0,v1 for variables, c0,c1 for constants)
546+ #[ arg( long) ]
547+ pub conjuncts_spec : Option < String > ,
513548 /// Functional dependencies (semicolon-separated, each dep is lhs>rhs with comma-separated indices, e.g., "0,1>2,3;2,3>0,1")
514549 #[ arg( long) ]
515550 pub deps : Option < String > ,
0 commit comments