Skip to content

Commit 591493a

Browse files
author
Yuma Ichikawa
committed
style(scripts): ruff format generate_coloring_instances.py
CI run 24785949103 failed on the "ruff format --check" step because the DIMACS block in generate_coloring_instances.py was missing the required two-line break before the Mycielski section. Reformatting with `ruff format` is a whitespace-only change; no behavioural difference.
1 parent 7d2b6ab commit 591493a

3 files changed

Lines changed: 404 additions & 95 deletions

File tree

notebooks/benchmark_sa_vs_qqa_vs_pignn.ipynb

Lines changed: 171 additions & 46 deletions
Large diffs are not rendered by default.

notebooks/colab_pqqa_sa_pa.ipynb

Lines changed: 232 additions & 49 deletions
Large diffs are not rendered by default.

scripts/generate_coloring_instances.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def build_dimacs(name: str, cache_dir: Path) -> nx.Graph:
9797
g.graph["source"] = f"DIMACS COLOR {name}.col (Trick 2002; Stanford GraphBase)"
9898
return g
9999

100+
100101
# -------- Mycielski graphs -------------------------------------------------
101102
# Chromatic number of M_k is k by construction (Mycielski 1955).
102103
# We start from k=3 so N grows: M_3=5, M_4=11, M_5=23, M_6=47, M_7=95.

0 commit comments

Comments
 (0)