Skip to content

Commit 68d662a

Browse files
committed
update docs
1 parent 368559f commit 68d662a

2 files changed

Lines changed: 18 additions & 33 deletions

File tree

docs/paper/reductions.typ

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,11 +1475,11 @@ where $P$ is a penalty weight large enough that any constraint violation costs m
14751475
The following reductions to Integer Linear Programming are straightforward formulations where problem constraints map directly to linear inequalities.
14761476

14771477
#reduction-rule("MaximumSetPacking", "ILP")[
1478-
Each set is either selected or not, and every overlapping pair forbids selecting both members -- a pairwise conflict constraint that is directly linear in binary indicator variables.
1478+
Each set is either selected or not, and every universe element may belong to at most one selected set -- an element-based constraint that is directly linear in binary indicator variables.
14791479
][
1480-
_Construction._ Variables: $x_i in {0, 1}$ for each set $S_i in cal(S)$. Constraints: $x_i + x_j <= 1$ for each overlapping pair $(S_i, S_j)$. Objective: maximize $sum_i w_i x_i$.
1480+
_Construction._ Variables: $x_i in {0, 1}$ for each set $S_i in cal(S)$. Constraints: $sum_(S_i in.rev e) x_i <= 1$ for each element $e in U$. Objective: maximize $sum_i w_i x_i$.
14811481

1482-
_Correctness._ ($arrow.r.double$) A valid packing chooses pairwise disjoint sets, so no overlapping pair has both indicators equal to $1$. ($arrow.l.double$) Any feasible binary solution selects no overlapping pair, hence the chosen sets are pairwise disjoint; the objective maximizes total weight.
1482+
_Correctness._ ($arrow.r.double$) A valid packing chooses pairwise disjoint sets, so each element is covered at most once. ($arrow.l.double$) Any feasible binary solution covers each element at most once, hence the chosen sets are pairwise disjoint; the objective maximizes total weight.
14831483

14841484
_Solution extraction._ $cal(P) = {S_i : x_i = 1}$.
14851485
]

docs/src/reductions/reduction_graph.json

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
{
2+
"nodes": [
3+
{
4+
"name": "BMF",
5+
"variant": {},
6+
"category": "algebraic",
7+
"doc_path": "models/algebraic/struct.BMF.html",
8+
"complexity": "2^(rows * rank + r
9+
Exported to: docs/src/reductions/reduction_graph.json
10+
11+
JSON content:
112
{
213
"nodes": [
314
{
@@ -675,21 +686,6 @@
675686
],
676687
"doc_path": "rules/maximumindependentset_gridgraph/index.html"
677688
},
678-
{
679-
"source": 24,
680-
"target": 23,
681-
"overhead": [
682-
{
683-
"field": "num_vertices",
684-
"formula": "num_vertices * num_vertices"
685-
},
686-
{
687-
"field": "num_edges",
688-
"formula": "num_vertices * num_vertices"
689-
}
690-
],
691-
"doc_path": "rules/maximumindependentset_gridgraph/index.html"
692-
},
693689
{
694690
"source": 24,
695691
"target": 25,
@@ -765,17 +761,6 @@
765761
],
766762
"doc_path": "rules/minimumvertexcover_maximumindependentset/index.html"
767763
},
768-
{
769-
"source": 25,
770-
"target": 37,
771-
"overhead": [
772-
{
773-
"field": "num_vars",
774-
"formula": "num_vertices"
775-
}
776-
],
777-
"doc_path": "rules/maximumindependentset_qubo/index.html"
778-
},
779764
{
780765
"source": 26,
781766
"target": 28,
@@ -917,7 +902,7 @@
917902
},
918903
{
919904
"field": "num_constraints",
920-
"formula": "num_sets^2"
905+
"formula": "universe_size"
921906
}
922907
],
923908
"doc_path": "rules/maximumsetpacking_ilp/index.html"
@@ -1059,11 +1044,11 @@
10591044
"overhead": [
10601045
{
10611046
"field": "num_vertices",
1062-
"formula": "2 * num_vars + 5 * num_literals + -1 * 5 * num_clauses + 3"
1047+
"formula": "num_vars + num_literals"
10631048
},
10641049
{
10651050
"field": "num_edges",
1066-
"formula": "3 * num_vars + 11 * num_literals + -1 * 9 * num_clauses + 3"
1051+
"formula": "num_vars + num_literals"
10671052
}
10681053
],
10691054
"doc_path": "rules/sat_coloring/index.html"
@@ -1170,4 +1155,4 @@
11701155
"doc_path": "rules/travelingsalesman_ilp/index.html"
11711156
}
11721157
]
1173-
}
1158+
}

0 commit comments

Comments
 (0)