Papers › Self-Guiding Exploration for Combinatorial Problems

Self-Guiding Exploration for Combinatorial Problems

28 May 2024arXiv:2405.17950archive 2025-07-28

Zangir Iklassov, Yali Du, Farkhad Akimov, Martin Takac

Large Language Models (LLMs) have become pivotal in addressing reasoning tasks across diverse domains, including arithmetic, commonsense, and symbolic reasoning. They utilize prompting techniques such as Exploration-of-Thought, Decomposition, and Refinement to effectively navigate and solve intricate tasks. Despite these advancements, the application of LLMs to Combinatorial Problems (CPs), known for their NP-hardness and critical roles in logistics and resource management remains underexplored. To address this gap, we introduce a novel prompting strategy: Self-Guiding Exploration (SGE), designed to enhance the performance of solving CPs. SGE operates autonomously, generating multiple thought trajectories for each CP task. It then breaks these trajectories down into actionable subtasks, executes them sequentially, and refines the results to ensure optimal outcomes. We present our research as the first to apply LLMs to a broad range of CPs and demonstrate that SGE outperforms existing prompting strategies by over 27.84% in CP optimization performance. Additionally, SGE achieves a 2.46% higher accuracy over the best existing results in other reasoning tasks (arithmetic, commonsense, and symbolic).

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.17950")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zangir/llm-for-cp officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
3unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zangir/llm-for-cp. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_cost_vrp zangir/llm-for-cp/solver.py official repository ran no licence file found · pointer only · d6f8f6a98205bc59 · report
create_data_model zangir/llm-for-cp/solver.py official repository ran no licence file found · pointer only · 8bf59f21910e4299 · report
fast_SGE zangir/llm-for-cp/method.py official repository ran no licence file found · pointer only · 35d66cefbae359af · report
get_gap zangir/llm-for-cp/data_processing.py official repository ran fingerprinted no licence file found · pointer only · 00610d35deeae7fa · report
get_graph_mat zangir/llm-for-cp/solver.py official repository ran no licence file found · pointer only · e488156d387beeea · report
numeric_answer_extractor zangir/llm-for-cp/data_processing.py official repository ran fingerprinted no licence file found · pointer only · bd32bbccb8f223ec · report
predict_openai_model zangir/llm-for-cp/models.py official repository ran no licence file found · pointer only · b397a5eb28c8b6d0 · report
separate_lines zangir/llm-for-cp/method.py official repository ran fingerprinted no licence file found · pointer only · 11355bef5c20756b · report
SGE zangir/llm-for-cp/method.py official repository unverified no licence file found · pointer only · ffb105b8b339cd3a · report
get_huggingface_dataset zangir/llm-for-cp/data_processing.py official repository unverified no licence file found · pointer only · bc6819812bf5fee8 · report
predict_openai_ci_model zangir/llm-for-cp/models.py official repository unverified no licence file found · pointer only · 7f5b1f663af490df · report

Tasks

ManagementNavigate

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections