コンテンツにスキップ

2部グラフのb-マッチング

Terminal window
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
# S.npy は N×M(= N×10)の重み行列(高いほど好ましい)
# 例1: 列も domain-wall(Sequential)
python src/run_matching_compare.py \
--S S.npy \
--columns sequential \
--attempts 64 --time-budget-sec 180 \
--out out/seq_vs_onehot
# 例2: 列は Binary Adder(b 大きめ向け)
python src/run_matching_compare.py \
--S S.npy \
--columns adder \
--attempts 64 --time-budget-sec 180 \
--out out/adder_vs_onehot