-
Notifications
You must be signed in to change notification settings - Fork 0
Paper Experiments (Algebraic)
Yosuke Mizutani edited this page Jan 11, 2025
·
15 revisions
- Install dependencies described in
README.md: - In the
Filessection on OSF, click onacda-25->OSF Storage (United States). - Click on
Download as zipand download files asosfstorage-archive.zip(~3.7 MB) - Extract
osfstorage-archive.zip. (~11.7 MB) - In the extracted directory, run
make. Make sure thatbuild/Release/ip-solveris created.
- Generated graph instances are stored in the
data/crispanddata/dronedirectories.- Each instance consists of three files:
{graph_prefix}_vertex,{graph_prefix}_edge, and{graph_prefix}_conf. - These files were created by
build_graphfrom IRIS, andreduce-poi,filter-poifrom Robotic Brewing.- Stage 1:
graph_build {rrg_seed} {n} {stage1_data_prefix} - Stage 2:
reduce-poi {stage1_data_prefix} data/poi/{crisp or drone}_poi.txt -k {10 or 12} -a greedy --seed 1 > {stage2_data_vertex} - Stage 3:
filger-poi {stage1_data_vertex} {stage2_data_vertex} > {stage3_data_vertex} -
{graph_prefix}_edgeand{graph_prefix}_confare not affected by stages 2 and 3.
- Stage 1:
- Each instance consists of three files:
- Run the following command:
build/Release/ip-solver -a algebraic -l debug -s 0 -j {num_threads} --seed {seed} --scale {scaling_factor} --algebraic-compact {circuit_type} --algebraic-search {search_strategy} --algebraic-recovery {recovery_strategy} {graph_prefix}-
{num_threads}: number of threads -
{seed}: seed 1, 2, 3 -
{scaling_factor}: scaling factor -
{circuit_type}: circuit type (naive,standard,semicompact,compact) -
{search_strategy}: search strategy (0: Standard Binary Search, 1: Probabilistic Binary Search, 3: Unified Search) -
{recovery_strategy}: recovery strategy (mc(Monte Carlo),lv(Las Vegas)) -
{graph_prefix}: path to the input graph instance (e.g.data/alenex25/crisp_n50_k10)
-
- Example:
build/Release/ip-solver -a algebraic -l debug -s 0 -j 8 --seed 1 --scale 50 --algebraic-compact semicompact --algebraic-search 3 --algebraic-recovery lv data/alenex25/crisp_n50_k10- This will finish within a few minutes and output a walk with weight
15.6540890000.
- This will finish within a few minutes and output a walk with weight