SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.13943 · 2020

Interior Point Solving for LP-based prediction+optimisation

arXiv · PDF · Open in the Atlas

Code that ran

12 of 26 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; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 1 failure of our instrument; 14 no recorded run), measured 2026-11-24; 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/2010.13943.json · badge: /api/ran/2010.13943.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
JayMan91/NeurIPSIntopt canonical (classifier label)
classifier basis: census
12 ran · 14 no recorded run
FunctionStatusWhere it lives
bceloss Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/shortespath/shortespath.py
code served (permissive licence) · get_code("1a5b1471d8d531c6")
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 float32, 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 numpy as np
from scipy.special import expit, logit

np.random.seed(0)

# Create small random inputs and target
# inputs: logits for binary cross entropy
# target: binary labels (0 or 1)
inputs = np.random.randn(2, 4).astype(np.float32)
target = np.random.randint(0, 2, size=(2, 4)).astype(np.float32)

ARGS = {
    "inputs": inputs,
    "target": target,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float32, 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
bg_update_dense Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/Interior/remove_redundancy.py
code served (permissive licence) · get_code("47cf07ccf06eeb7e")
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. 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 numpy as np
import scipy
import scipy.linalg

# Create a small dense matrix for LU decomposition
# Using a 5x5 matrix to have room for operations
np.random.seed(0)
A = np.random.randn(5, 5).astype(np.float64)

# Compute LU decomposition with partial pivoting
LU, p = scipy.linalg.lu_factor(A)

# plu is a tuple of (LU, p)
plu = (LU, p)

# perm_r should be a permutation array that indexes into the rows
# It's used to permute v[perm_r] in the solve_triangular call
perm_r = np.array([0, 1, 2, 3, 4], dtype=np.int32)

# v should be a vector of size matching the matrix dimension
v = np.random.randn(5).astype(np.float64)

# j is an integer index used in slicing operations
j = 2

ARGS = {
    "plu": plu,
    "perm_r": perm_r,
    "v": v,
    "j": j,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
bger Ran
ran; our contract draft was wrong, not the code
JayMan91/NeurIPSIntopt/Interior/qpthlocal/util.py
pointer only (licence: MIT); the stored copy get_code serves, from jiaweihe1996/GMTracker, is pointer only (licence: GPL-3.0) · get_code("612774f5e2ab3ddb")
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 jiaweihe1996/GMTracker, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

data_reading Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/EnergyCost/ICON.py
code served (permissive licence) · get_code("ee1c6a3a00be8bc6")
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 tempfile
import os

# Create a temporary file with the expected data format
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_filename = temp_file.name

# Write test data following the format expected by data_reading
content = """3
2
2
m 10 0.5 0.3
1 2
m 20 0.4 0.2
3 1
2
t 5 10 15 0.9
1 2 1
t 8 12 20 0.8
2 1 2
"""

temp_file.write(content)
temp_file.close()

ARGS = {
    'filename': temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
get_data Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/sgd_learner.py
code served (permissive licence) · get_code("2dd8ceebf2a365ec")
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 2, dtype family float, shape (3, 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
import numpy as np

torch.manual_seed(0)

# The function indexes into trch with slice [kn_start:kn_stop]
# So trch should be a tensor or list that supports slicing
# Parameters: trch, kn_nr, n_items
trch = torch.randn(10, 4)  # Small tensor with enough elements to slice
kn_nr = 1  # Knowledge number (multiplier for offset)
n_items = 3  # Number of items to retrieve

ARGS = {
    "trch": trch,
    "kn_nr": kn_nr,
    "n_items": n_items
}
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 2, dtype family float, shape (3, 4) — shape (3, 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
get_kn_indicators Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/sgd_learner.py
code served (permissive licence) · get_code("1592e9edaea942e4")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np

# Mock functions for the knapsack solvers that are called when use_dp=True
def solveKnapsackProblem(V_pred, weights, c, warmstart=None):
    """Mock knapsack solver"""
    n = len(V_pred)
    # Simple greedy solution
    assignments = np.zeros(n, dtype=int)
    indices = np.argsort(-V_pred)
    remaining_capacity = c
    for idx in indices:
        if remaining_capacity >= weights[idx]:
            assignments[idx] = 1
            remaining_capacity -= weights[idx]
    return {
        'assignments': assignments,
        'runtime': 0.001
    }

def solveKnapsackProblemRelaxation(V_pred, weights, c, warmstart=None):
    """Mock relaxed knapsack solver"""
    n = len(V_pred)
    assignments = np.zeros(n)
    indices = np.argsort(-V_pred / weights)
    remaining_capacity = c
    for idx in indices:
        if remaining_capacity >= weights[idx]:
            assignments[idx] = 1.0
            remaining_capacity -= weights[idx]
        elif remaining_capacity > 0:
            assignments[idx] = remaining_capacity / weights[idx]
            remaining_capacity = 0
            break
    return {
        'assignments': assignments,
        'runtime': 0.001
    }

# Create test data
V_pred = np.array([5.0, 3.0, 8.0, 2.0])
c = 10.0
weights = np.array([2.0, 1.0, 3.0, 1.0])
warmstart = None

ARGS = {
    'V_pred': V_pred,
    'c': c,
    'weights': weights,
    'use_dp': False,
    'relaxation': False,
    'warmstart': warmstart
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
get_sizes Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/Interior/qpthlocal/util.py
code served (permissive licence) · get_code("d0357e296f7fb5bd")
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 int; 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

torch.manual_seed(0)

# G is used with .dim() and .size() methods
# Case 1: G.dim() == 2, so G needs shape (nineq, nz)
# Case 2: G.dim() == 3, so G needs shape (nBatch, nineq, nz)
# We'll test with 3D case
G = torch.randn(2, 4, 3)  # (nBatch=2, nineq=4, nz=3)

# A is optional and used with:
# - A is not None check
# - A.size(1) call
# - A.nelement() call
# We'll provide a 2D tensor with shape (neq, some_dim)
A = torch.randn(5, 3)  # (neq=5, some_dim=3)

ARGS = {
    "G": G,
    "A": A,
}
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 tuple, ndim 1, dtype family int — 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
make_matrix_intopt Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/Interior/intopt_energy_mlp.py
code served (permissive licence) · get_code("0247da76f1cc067c")
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. 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

torch.manual_seed(0)

# Analyzing the function:
# - nbMachines, nbTasks, nbResources: integers
# - MC: indexed as MC[m][0], so list of lists or 2D array-like
# - U, D, E, L, P: indexed as D[f], E[f], L[f], P[f], so list-like structures
# - idle, up, down, q: integers (q is used in division 1440 // q)
# - **h: keyword arguments (not used in function body)

nbMachines = 2
nbTasks = 3
nbResources = 4

# MC is indexed as MC[m][0], needs nbMachines entries
MC = [[5.0], [3.0]]

# D, E, L, P are indexed by task (f in Tasks which is range(nbTasks))
D = [2, 3, 4]  # duration per task
E = [1, 2, 1]  # early start per task
L = [5, 7, 8]  # late finish per task
P = [10.0, 15.0, 12.0]  # power/processing per task

# idle, up, down: appear in function signature but not used in body
idle = 0
up = 1
down = 1

# q is used in N = 1440 // q, so choose a divisor of 1440
q = 60  # results in N = 24

ARGS = {
    'nbMachines': nbMachines,
    'nbTasks': nbTasks,
    'nbResources': nbResources,
    'MC': MC,
    'U': None,  # not used in function body
    'D': D,
    'E': E,
    'L': L,
    'P': P,
    'idle': idle,
    'up': up,
    'down': down,
    'q': q,
}
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 tuple — a tuple output has no array shape of its own; none is 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_matrix_qp Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/Interior/intopt_energy_mlp.py
code served (permissive licence) · get_code("d2b638cc9c3d61d1")
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. 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

torch.manual_seed(0)

# Analyzing the function:
# - nbMachines, nbTasks, nbResources, q are integers
# - MC is indexed as MC[m][0], so it's a list/array of lists
# - U, D, E, L, P are indexed by task index f
# - idle, up, down are parameters but not used in the function body
# - h is **kwargs (unused in body)

nbMachines = 2
nbTasks = 3
nbResources = 4
q = 60  # divides 1440

# MC[m][0] - list of machines, each with at least one element
MC = [[1.5], [2.0]]

# U - indexed by task (not used in function, but parameter exists)
U = [0.1, 0.2, 0.15]

# D[f] - duration for each task
D = [2, 3, 1]

# E[f] - earliest start for each task
E = [1, 0, 2]

# L[f] - latest start for each task
L = [5, 8, 6]

# P[f] - power/processing for each task
P = [10.0, 15.0, 12.0]

# idle, up, down - not used in function body
idle = 0.5
up = 1.0
down = 0.8

ARGS = {
    'nbMachines': nbMachines,
    'nbTasks': nbTasks,
    'nbResources': nbResources,
    'MC': MC,
    'U': U,
    'D': D,
    'E': E,
    'L': L,
    'P': P,
    'idle': idle,
    'up': up,
    'down': down,
    'q': q,
}
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 tuple — a tuple output has no array shape of its own; none is 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
shortest_path Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/sgd_learner.py
code served (permissive licence) · get_code("95c25164471c4610")
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 ndarray, ndim 1, dtype family float, shape (24,) 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 numpy as np

# Construct V_pred: a 1D numpy array of edge weights
# The function expects V_pred to be a flattened array of weights for all edges
# For a graph with height=3, width=3, we need:
# - Horizontal edges: (height+1) * width = 4 * 3 = 12
# - Vertical edges: height * (width+1) = 3 * 4 = 12
# - Total: 24 edges
V_pred = np.array([1.0, 2.0, 1.5, 2.5, 1.2, 2.2, 
                   1.8, 2.8, 1.1, 2.1, 1.3, 2.3,
                   1.4, 2.4, 1.6, 2.6, 1.7, 2.7,
                   1.9, 2.9, 1.0, 2.0, 1.5, 2.5], dtype=np.float32)

ARGS = {
    'V_pred': V_pred,
    'height': 3,
    'width': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (24,) — shape (24,) 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
solveKnapsackGreedily Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/KnapsackSolving.py
code served (permissive licence) · get_code("ba3145cb5e3d8213")
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.

# Analyzing the function:
# - profits: list of non-negative numbers (profits of items)
# - weights: list of positive numbers (weights of items)
# - capacity: positive integer (knapsack capacity)
# - Function performs greedy knapsack by sorting items by profit/weight ratio
# - Requires at least 2 items
# - Requires profits and weights to have same length

ARGS = {
    'profits': [60, 100, 120],
    'weights': [10, 20, 30],
    'capacity': 50
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
to_np Ran
ran on a synthesized input
JayMan91/NeurIPSIntopt/Interior/qpthlocal/util.py
code served (permissive licence) · get_code("b3e46dde438fad0b")
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 ndarray, ndim 2, dtype family float, shape (2, 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
import numpy as np

torch.manual_seed(0)

# The function `to_np` takes a single parameter `t` which should be a tensor or None
# It checks if t is None, if it has no elements, or converts it to numpy
# So we need to provide a valid torch tensor

# Test case 1: A normal tensor
tensor_input = torch.randn(2, 4)

ARGS = {
    "t": tensor_input
}
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 ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
ICON_scheduling Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/EnergyCost/ICON.py
code served (permissive licence) · get_code("2a98612374aa111c")
How it ran

no invocation recorded.

ICON_scheduling_relaxation Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/EnergyCost/ICON.py
code served (permissive licence) · get_code("61a4f21373e9ada4")
How it ran

no invocation recorded.

ICON_solution Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/intopt_energy_mlp.py
code served (permissive licence) · get_code("7c9f8f4e9aa1a197")
How it ran

no invocation recorded.

IPOfunc Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/ip_model_alter.py
code served (permissive licence) · get_code("28a6baddaa406aa9")
How it ran

no invocation recorded.

IPOfunc Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/ip_model_whole.py
code served (permissive licence) · get_code("44ca414095aef85b")
How it ran

no invocation recorded.

forward_gurobi_prebuilt Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/qpthlocal/qp.py
code served (permissive licence) · get_code("6c1a6c7ee5b80feb")
How it ran

no invocation recorded.

forward_single_np_gurobi Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/qpthlocal/qp.py
code served (permissive licence) · get_code("ecf413c2cedc33fa")
How it ran

no invocation recorded.

get_energy Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/get_energy.py
code served (permissive licence) · get_code("3ee7504e77ee94cb")
How it ran

no invocation recorded.

get_energy_grouped Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/get_energy.py
code served (permissive licence) · get_code("8234b742ce34e9d8")
How it ran

no invocation recorded.

get_energy_pandas Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/get_energy.py
code served (permissive licence) · get_code("0d9b18d5fefc09ef")
How it ran

no invocation recorded.

make_gurobi_model Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/qpthlocal/qp.py
code served (permissive licence) · get_code("335370cd393b0855")
How it ran

no invocation recorded.

postsolve Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/Interior/ip_model_alter.py
code served (permissive licence) · get_code("d1bb4eef9d9eb2ba")
How it ran

no invocation recorded.

solveKnapsackProblem Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/KnapsackSolving.py
code served (permissive licence) · get_code("6788adf385135210")
How it ran

no invocation recorded.

solveKnapsackProblemRelaxation Not yet run
unverified (harvested, no recorded run)
JayMan91/NeurIPSIntopt/KnapsackSolving.py
code served (permissive licence) · get_code("964934cb816c76c8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 26 samples lifted from this paper's linked repositories, 26 carry a function identity and 0 do not. Of the 26 distinct functions with an identity, 13 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 0 the same month, 3 later) and 13 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
bger 3 other papers
3 later · 1 only as an assembly brick
2103.16178 (2021-03)
Learnable Graph Matching: Incorporating Graph Partitioning with Deep Feature Learning for Multiple Object Tracking
2106.12900 (2021-06)
Long-term Cross Adversarial Training: A Robust Meta-learning Method for Few-shot Classification Tasks
2305.02649 (2023-05)
CCIL: Context-conditioned imitation learning for urban driving
data_reading 2 other papers
1 dated earlier, 1 later
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
2112.03609 (2021-12)
Decision-Focused Learning: Through the Lens of Learning to Rank
get_energy_pandas 2 other papers
1 dated earlier, 1 later
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
2112.03609 (2021-12)
Decision-Focused Learning: Through the Lens of Learning to Rank
ICON_scheduling 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
ICON_scheduling_relaxation 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
get_data 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
get_energy 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
get_energy_grouped 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
get_kn_indicators 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
shortest_path 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
solveKnapsackGreedily 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
solveKnapsackProblem 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
solveKnapsackProblemRelaxation 1 other paper
1 dated earlier
1911.10092 (2019-11)
Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems

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-24.

Repositories linked to this paper

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

Abstract

Solving optimization problems is the key to decision making in many real-life analytics applications. However, the coefficients of the optimization problems are often uncertain and dependent on external factors, such as future demand or energy or stock prices. Machine learning (ML) models, especially neural networks, are increasingly being used to estimate these coefficients in a data-driven way. Hence, end-to-end predict-and-optimize approaches, which consider how effective the predicted values are to solve the optimization problem, have received increasing attention. In case of integer linear programming problems, a popular approach to overcome their non-differentiabilty is to add a quadratic penalty term to the continuous relaxation, such that results from differentiating over quadratic programs can be used. Instead we investigate the use of the more principled logarithmic barrier term, as widely used in interior point solvers for linear programming. Specifically, instead of differentiating the KKT conditions, we consider the homogeneous self-dual formulation of the LP and we show the relation between the interior point step direction and corresponding gradients needed for learning. Finally our empirical experiments demonstrate our approach performs as good as if not better than the state-of-the-art QPTL (Quadratic Programming task loss) formulation of Wilder et al. and SPO approach of Elmachtoub and Grigas.

For agents

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

get_harvested_code_for_paper("2010.13943")
get_code_for_paper("2010.13943")
have("2010.13943")

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

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

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

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

Connect an agent — have() is free.