SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.06026 · 2024

Towards a Generic Representation of Combinatorial Problems for Learning-Based Approaches

arXiv · PDF · Open in the Atlas

Code that ran

11 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.06026.json · badge: /api/ran/2403.06026.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
corail-research/learning-generic-csp canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
build_variable Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
corail-research/learning-generic-csp/src/generic_xcsp/variable_parsing.py
pointer only (licence: NONE) · get_code("f23e1348c626e075")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

files_exist Ran
ran, violated the contract we drafted
corail-research/learning-generic-csp/src/generic_xcsp/dataset.py
pointer only (licence: NONE) · get_code("a2bed3dc1c938772")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_coeffs Ran
ran, honoured the contract we drafted
corail-research/learning-generic-csp/src/generic_xcsp/sum_constraint.py
pointer only (licence: NONE) · get_code("ca6cea5d83ca57b3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_constraint_section Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/constraints.py
pointer only (licence: NONE) · get_code("4be7c7d106563d39")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_element_constraint Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/element.py
pointer only (licence: NONE) · get_code("22c6fdfffbb766bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_element_group Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/element.py
pointer only (licence: NONE) · get_code("8bcd60e69af0841c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_extension_constraint Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/constraints.py
pointer only (licence: NONE) · get_code("c27ab8b44cf6f1df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_intension_constraint Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/intension_utils.py
pointer only (licence: NONE) · get_code("42d25a67e0abe887")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_intension_group Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/intension_utils.py
pointer only (licence: NONE) · get_code("2a9312d517946c1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_objective_type Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/instance.py
pointer only (licence: NONE) · get_code("9137e841d497d264")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

replace_placeholders Ran
ran; our contract draft was wrong, not the code
corail-research/learning-generic-csp/src/generic_xcsp/intension_utils.py
pointer only (licence: NONE) · get_code("8989174eed170106")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_all_variables Not yet run
unverified (harvested, no recorded run)
corail-research/learning-generic-csp/src/generic_xcsp/variable_parsing.py
pointer only (licence: NONE) · get_code("15665d7c69101847")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_array_variables Not yet run
unverified (harvested, no recorded run)
corail-research/learning-generic-csp/src/generic_xcsp/variable_parsing.py
pointer only (licence: NONE) · get_code("a1baabf907df2579")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_group Not yet run
unverified (harvested, no recorded run)
corail-research/learning-generic-csp/src/generic_xcsp/constraints.py
pointer only (licence: NONE) · get_code("dcb15033262fe468")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_sum Not yet run
unverified (harvested, no recorded run)
corail-research/learning-generic-csp/src/generic_xcsp/sum_constraint.py
pointer only (licence: NONE) · get_code("1bb8828ef0b858d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_sum_group Not yet run
unverified (harvested, no recorded run)
corail-research/learning-generic-csp/src/generic_xcsp/sum_constraint.py
pointer only (licence: NONE) · get_code("fef8b5c5f2f924f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, corail-research/learning-generic-csp when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In recent years, there has been a growing interest in using learning-based approaches for solving combinatorial problems, either in an end-to-end manner or in conjunction with traditional optimization algorithms. In both scenarios, the challenge lies in encoding the targeted combinatorial problems into a structure compatible with the learning algorithm. Many existing works have proposed problem-specific representations, often in the form of a graph, to leverage the advantages of \textit{graph neural networks}. However, these approaches lack generality, as the representation cannot be easily transferred from one combinatorial problem to another one. While some attempts have been made to bridge this gap, they still offer a partial generality only. In response to this challenge, this paper advocates for progress toward a fully generic representation of combinatorial problems for learning-based approaches. The approach we propose involves constructing a graph by breaking down any constraint of a combinatorial problem into an abstract syntax tree and expressing relationships (e.g., a variable involved in a constraint) through the edges. Furthermore, we introduce a graph neural network architecture capable of efficiently learning from this representation. The tool provided operates on combinatorial problems expressed in the XCSP3 format, handling all the constraints available in the 2023 mini-track competition. Experimental results on four combinatorial problems demonstrate that our architecture achieves performance comparable to dedicated architectures while maintaining generality. Our code and trained models are publicly available at \url{https://github.com/corail-research/learning-generic-csp}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.06026")
get_code_for_paper("2403.06026")
have("2403.06026")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2403.06026.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2403.06026.svg)](https://syntology.ai/paper/2403.06026)

Connect an agent — have() is free.