Papers › Moco: A Learnable Meta Optimizer for Combinatorial Optimization

Moco: A Learnable Meta Optimizer for Combinatorial Optimization

7 Feb 2024arXiv:2402.04915archive 2025-07-28

Tim Dernedde, Daniela Thyssens, Sören Dittrich, Maximilian Stubbemann, Lars Schmidt-Thieme

Relevant combinatorial optimization problems (COPs) are often NP-hard. While they have been tackled mainly via handcrafted heuristics in the past, advances in neural networks have motivated the development of general methods to learn heuristics from data. Many approaches utilize a neural network to directly construct a solution, but are limited in further improving based on already constructed solutions at inference time. Our approach, Moco, learns a graph neural network that updates the solution construction procedure based on features extracted from the current search state. This meta training procedure targets the overall best solution found during the search procedure given information such as the search budget. This allows Moco to adapt to varying circumstances such as different computational budgets. Moco is a fully learnable meta optimizer that does not utilize any problem specific local search or decomposition. We test Moco on the Traveling Salesman Problem (TSP) and Maximum Independent Set (MIS) and show that it outperforms other approaches on MIS and is overall competitive on the TSP, especially outperforming related approaches, partially even if they use additional local search.

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="2402.04915")

Code

Syntology Ran 9 of 10 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 9 ran with no contract checked.

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

timd3/moco officialmentioned in paperjaxMIT 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

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

9ran
1unverified

Licence: 0 of the 10 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 timd3/moco. “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.

action_infeasibility timd3/moco/moco/environments.py official repository ran MIT (permissive) · 2ee4d5ac33cd45bc · report
batched_two_opt_python timd3/moco/moco/two_opt.py official repository ran MIT (permissive) · 346a796484d63082 · report
greedy_actor timd3/moco/moco/rl_utils.py official repository ran MIT (permissive) · 23d6bb6df9587d9c · report
jax_two_opt_cb timd3/moco/moco/two_opt.py official repository ran MIT (permissive) · 6ac6fa00f37ce1be · report
nearest_neighbor timd3/moco/moco/tsp_actors.py official repository ran MIT (permissive) · 02ad115e2c22c22b · report
plot_tsp_grid timd3/moco/moco/plot_utils.py official repository ran MIT (permissive) · bfa020fcc852866f · report
random_actor timd3/moco/moco/rl_utils.py official repository ran MIT (permissive) · 87e63bb80f1e943a · report
sample_tsp timd3/moco/moco/data_utils.py official repository ran MIT (permissive) · 94fbd8d077bfb945 · report
two_opt_once timd3/moco/moco/two_opt.py official repository ran MIT (permissive) · d9bb9f73eef30c33 · report
load_and_process timd3/moco/moco/data_utils.py official repository unverified MIT (permissive) · 36598a73c467f39c · report

Tasks

Combinatorial OptimizationGraph Neural NetworkTraveling Salesman Problem

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Batch NormalizationGraph Neural NetworkInfoNCEMoCoSET

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