SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1611.09940 · 2016

Neural Combinatorial Optimization with Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

14 of 20 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 8 have no contract verdict; 4 failures of our instrument; 6 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/1611.09940.json · badge: /api/ran/1611.09940.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
abdullah-al-masud/rl-optimize community (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
JoseVillagranE/Pointer-Networks reimplementation (classifier label)
classifier basis: classifier_2025
5 ran · 0 no recorded run
pemami4911/neural-combinatorial-rl-pytorch community (classifier label)
classifier basis not recorded on the link
3 ran · 3 no recorded run
Rintarooo/TSP_DRL_PointerNet community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
Rintarooo/TSP_DRL_PtrNet reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
PreProcessOutput Ran
ran, honoured the contract we drafted
JoseVillagranE/Pointer-Networks/TSP.py
pointer only (licence: NONE) · get_code("b337a9636b389167")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JoseVillagranE/Pointer-Networks 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.

PreProcessOutput_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JoseVillagranE/Pointer-Networks/RLtraining.py
pointer only (licence: NONE) · get_code("d88d8c4f9d624404")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JoseVillagranE/Pointer-Networks 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.

Reward Ran
ran; our contract draft was wrong, not the code
JoseVillagranE/Pointer-Networks/RLtraining.py
pointer only (licence: NONE) · get_code("7c3324bc44451062")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JoseVillagranE/Pointer-Networks 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.

comparison_table Ran
ran on a synthesized input
abdullah-al-masud/rl-optimize/utils.py
code served (permissive licence) · get_code("131a59fa13a6da38")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

# Construct valid arguments for comparison_table
# The function expects:
# - solutions: dict with keys being algorithm names, values being dicts with keyname as a key
# - keyname: string key to extract from each solution dict
# - maximize: boolean flag

# Build solutions dict with multiple algorithms
# Each algorithm has a dict containing the keyname with array-like values
solutions = {
    'algo_A': {
        'metric': np.array([0.9, 0.85, 0.88, 0.92, 0.87])
    },
    'algo_B': {
        'metric': np.array([0.85, 0.80, 0.88, 0.90, 0.82])
    },
    'algo_C': {
        'metric': np.array([0.92, 0.88, 0.91, 0.95, 0.89])
    }
}

keyname = 'metric'
maximize = True

ARGS = {
    'solutions': solutions,
    'keyname': keyname,
    'maximize': maximize
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_data_model Ran
ran on a synthesized input
abdullah-al-masud/rl-optimize/tsp_utils.py
code served (permissive licence) · get_code("c5bf8b09fc4c7356")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a small distance matrix for a routing problem
# This represents distances between locations (e.g., 5 locations)
distance_matrix = np.array([
    [0, 1, 2, 3, 4],
    [1, 0, 5, 6, 7],
    [2, 5, 0, 8, 9],
    [3, 6, 8, 0, 10],
    [4, 7, 9, 10, 0]
], dtype=np.float32)

start_index = 0

ARGS = {
    'input_data': distance_matrix,
    'start_index': start_index
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_dataset Ran
ran on a synthesized input
pemami4911/neural-combinatorial-rl-pytorch/sorting_task.py
code served (permissive licence) · get_code("06248b1d4ce6e73f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import tempfile
import os

torch.manual_seed(0)

# Create a temporary directory for the data files
temp_dir = tempfile.mkdtemp()

ARGS = {
    'train_size': 5,
    'val_size': 3,
    'data_dir': temp_dir,
    'data_len': 4,
    'seed': 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_2city_distance Ran
ran on a synthesized input
Rintarooo/TSP_DRL_PointerNet/env.py
code served (permissive licence) · get_code("cb53b718ef642545")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
import math

torch.manual_seed(0)

# Test with torch.Tensor nodes
n1_tensor = torch.tensor([0.0, 0.0, 3.0, 4.0])
n2_tensor = torch.tensor([1.0, 1.0, 4.0, 5.0])

# Test with list nodes
n1_list = [0.0, 0.0, 3.0, 4.0]
n2_list = [1.0, 1.0, 4.0, 5.0]

# Test with numpy array nodes
n1_numpy = np.array([0.0, 0.0, 3.0, 4.0])
n2_numpy = np.array([1.0, 1.0, 4.0, 5.0])

# Create ARGS - testing with torch.Tensor variant
ARGS = {
    "n1": n1_tensor,
    "n2": n2_tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
inference_config Ran
ran on a synthesized input
abdullah-al-masud/rl-optimize/rlutils.py
code served (permissive licence) · get_code("603daec7955e6b32")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Config. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory structure for the test
temp_base = tempfile.mkdtemp()

# Create a config class with the required attributes
class Config:
    def __init__(self, problem_size, loadpath, savepath):
        self.problem_size = problem_size
        self.loadpath = loadpath
        self.savepath = savepath
        self.size_diff = None
        self.diff_type = None

# Set up directory structure
# Create subdirectories with size_ prefix
size_100_dir = os.path.join(temp_base, 'size_100')
size_150_dir = os.path.join(temp_base, 'size_150')
size_200_dir = os.path.join(temp_base, 'size_200')

os.makedirs(size_100_dir, exist_ok=True)
os.makedirs(size_150_dir, exist_ok=True)
os.makedirs(size_200_dir, exist_ok=True)

# Create dummy files in each directory so they're not empty
with open(os.path.join(size_100_dir, 'dummy.txt'), 'w') as f:
    f.write('test')
with open(os.path.join(size_150_dir, 'dummy.txt'), 'w') as f:
    f.write('test')
with open(os.path.join(size_200_dir, 'dummy.txt'), 'w') as f:
    f.write('test')

# Create config with problem_size=125 (will trigger 'small' case since 150 > 125)
config = Config(
    problem_size=125,
    loadpath=os.path.join(temp_base, 'size_125'),
    savepath=os.path.join(temp_base, 'output_size_125')
)

ARGS = {
    'config': config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Config — a Config output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Config output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_big Ran
ran on a synthesized input
abdullah-al-masud/rl-optimize/rlutils.py
code served (permissive licence) · get_code("2a2a3a02703e0cc3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 8, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Analyzing the function:
# - x: tensor indexed by x.shape[0], x[i], x[i, 0]
#   x[i, 0] is repeated and concatenated, so x needs at least 2 dims
#   x[i, 0].repeat(size_inc, 1) suggests x[i, 0] is 1D, repeated to (size_inc, *)
# - size_inc: integer for repeat count

# Create a 3D tensor: (batch=2, seq=3, features=4)
x = torch.randn(2, 3, 4)

# size_inc controls how many times to repeat the first element
size_inc = 5

ARGS = {
    "x": x,
    "size_inc": size_inc,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 8, 4) — shape (2, 8, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reward Ran
ran on a synthesized input
pemami4911/neural-combinatorial-rl-pytorch/tsp_task.py
code served (permissive licence) · get_code("570a2842c2ff2ab8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch.autograd import Variable

torch.manual_seed(0)

# Construct sample_solution: a list of tensors representing tour points
# Each tensor has shape [batch_size, coordinates_dim]
batch_size = 2
coordinates_dim = 4
n_points = 5

sample_solution = [
    torch.randn(batch_size, coordinates_dim) 
    for _ in range(n_points)
]

ARGS = {
    "sample_solution": sample_solution,
    "USE_CUDA": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sequence_mask Ran
ran; our contract draft was wrong, not the code
JoseVillagranE/Pointer-Networks/pointer_network.py
pointer only (licence: NONE) · get_code("0c43e7290e581e42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JoseVillagranE/Pointer-Networks 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.

solve_agent Ran
ran on a synthesized input
abdullah-al-masud/rl-optimize/rlutils.py
code served (permissive licence) · get_code("175f1ee7b5d44f2d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Define a minimal agent with required attributes and methods
class MinimalAgent(nn.Module):
    def __init__(self):
        super().__init__()
        self.actor = MinimalActor()
        self.critic = MinimalCritic()
    
    def load_weights(self):
        pass
    
    def learn(self, data):
        pass
    
    def solve_agent(self, data):
        batch_size = data.shape[0]
        # Return random indices of shape (batch_size, num_nodes)
        return torch.randint(0, data.shape[1], (batch_size, data.shape[1]))

class MinimalActor(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.indices = None
    
    def forward(self, x):
        return self.linear(x)
    
    def eval(self):
        super().eval()
        return self

class MinimalCritic(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 1)
    
    def forward(self, x):
        return self.linear(x)
    
    def eval(self):
        super().eval()
        return self

# Define a minimal config
class MinimalConfig:
    def __init__(self):
        self.diff_type = 'eq'  # or 'small'
        self.size_diff = 1
        self.batch_size = 2
        self.num_it = 2
        self.maximize = True
        self.active_search = False
        self.print_progress = True

# Define a minimal evaluate function
def evaluate_func(instances, solutions):
    """Returns scores for each solution in batch"""
    batch_size = solutions.shape[0]
    return np.random.rand(batch_size)

# Create test instances tensor (batch_size=2, num_nodes=5, features=4)
instances = torch.randn(2, 5, 4)

# Create agent
agent = MinimalAgent()

# Create config
config = MinimalConfig()

# Keyname for storing results
keyname = 'objective_value'

ARGS = {
    'agent': agent,
    'instances': instances,
    'config': config,
    'evaluate_func': evaluate_func,
    'keyname': keyname
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
str2bool Ran
ran, violated the contract we drafted
pemami4911/neural-combinatorial-rl-pytorch/trainer.py
pointer only (licence: MIT); the stored copy get_code serves, from haoran0301/amenunet, is pointer only (licence: NONE) · get_code("248284f69adfeaad")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from haoran0301/amenunet, and GitHub detected no licence in that repository 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.

tensor_sort Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JoseVillagranE/Pointer-Networks/RLtraining.py
pointer only (licence: NONE) · get_code("926944485fdd4f48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JoseVillagranE/Pointer-Networks 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.

download_file_from_google_drive Not yet run
unverified (harvested, no recorded run)
pemami4911/neural-combinatorial-rl-pytorch/tsp_task.py
code served (permissive licence) · get_code("20f31737837ced8e")
How it ran

no invocation recorded.

get_confirm_token Not yet run
unverified (harvested, no recorded run)
pemami4911/neural-combinatorial-rl-pytorch/tsp_task.py
pointer only (licence: MIT); the stored copy get_code serves, from med-air/FedBN, is pointer only (licence: NONE) · get_code("135b3dc835ffe6ad")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from med-air/FedBN, and GitHub detected no licence in that repository 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.

get_solution Not yet run
unverified (harvested, no recorded run)
abdullah-al-masud/rl-optimize/tsp_utils.py
code served (permissive licence) · get_code("1080a3f43ce02c26")
How it ran

no invocation recorded.

load_pkl Not yet run
unverified (harvested, no recorded run)
Rintarooo/TSP_DRL_PtrNet/config.py
code served (permissive licence) · get_code("cdefd51f0daf2843")
How it ran

no invocation recorded.

prepare_tsp_config Not yet run
unverified (harvested, no recorded run)
abdullah-al-masud/rl-optimize/config.py
code served (permissive licence) · get_code("d8ef9d8f7e4a2e47")
How it ran

no invocation recorded.

reward Not yet run
unverified (harvested, no recorded run)
pemami4911/neural-combinatorial-rl-pytorch/sorting_task.py
code served (permissive licence) · get_code("da119d24707d7943")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 3 later) and 12 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.

FunctionAlso present inEarliest-datedOthers named
get_confirm_token 38 other papers
4 dated earlier, 34 later
1409.8230 (2014-09)
RENOIR - A Dataset for Real Low-Light Image Noise Reduction
1503.03832 (2015-03)
FaceNet: A Unified Embedding for Face Recognition and Clustering
1506.03134 (2015-06)
Pointer Networks
and 35 more not named here
str2bool 33 other papers
2 dated earlier, 31 later
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1506.03134 (2015-06)
Pointer Networks
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
and 30 more not named here
download_file_from_google_drive 2 other papers
1 dated earlier, 1 later
1506.03134 (2015-06)
Pointer Networks
1805.07010 (2018-05)
Learning Permutations with Sinkhorn Policy Gradient
PreProcessOutput 1 other paper
1 dated earlier
1506.03134 (2015-06)
Pointer Networks
PreProcessOutput_batch 1 other paper
1 dated earlier
1506.03134 (2015-06)
Pointer Networks
Reward 1 other paper
1 dated earlier
1506.03134 (2015-06)
Pointer Networks
sequence_mask 1 other paper
1 dated earlier
1506.03134 (2015-06)
Pointer Networks
tensor_sort 1 other paper
1 dated earlier
1506.03134 (2015-06)
Pointer Networks

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

This paper presents a framework to tackle combinatorial optimization problems using neural networks and reinforcement learning. We focus on the traveling salesman problem (TSP) and train a recurrent network that, given a set of city coordinates, predicts a distribution over different city permutations. Using negative tour length as the reward signal, we optimize the parameters of the recurrent network using a policy gradient method. We compare learning the network parameters on a set of training graphs against learning them on individual test graphs. Despite the computational expense, without much engineering and heuristic designing, Neural Combinatorial Optimization achieves close to optimal results on 2D Euclidean graphs with up to 100 nodes. Applied to the KnapSack, another NP-hard problem, the same method obtains optimal solutions for instances with up to 200 items.

For agents

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

get_harvested_code_for_paper("1611.09940")
get_code_for_paper("1611.09940")
have("1611.09940")

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

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

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

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

Connect an agent — have() is free.