SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.06954 · 2024

Distributional MIPLIB: a Multi-Domain Library for Advancing ML-Guided MILP Methods

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2406.06954.json · badge: /api/ran/2406.06954.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
amf272/Distributional-MIPLIB-Generators canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
gen_graph Ran
ran, honoured the contract we drafted
amf272/Distributional-MIPLIB-Generators/MVC/generator_MVC.py
code served (permissive licence) · get_code("0e7b2fffe89e8142")
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 Graph. 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 networkx as nx
import numpy as np
import random

# Set seed for reproducibility
np.random.seed(42)
random.seed(42)

# Define arguments for gen_graph function
ARGS = {
    'max_n': 20,
    'min_n': 10,
    'g_type': 'barabasi_albert',
    'edge': 4
}
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 Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int 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
getEdgeVar Ran
ran; our contract draft was wrong, not the code
amf272/Distributional-MIPLIB-Generators/MVC/generator_MVC.py
code served (permissive licence) · get_code("0310049d859e5632")
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 str. 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

class MockGurobiModel:
    """Mock Gurobi model with addVar method"""
    def __init__(self):
        self.var_counter = 0
    
    def addVar(self, name='', vtype='B'):
        """Simulate adding a variable to the model"""
        self.var_counter += 1
        return f"Var_{name}_{self.var_counter}"

# Create mock model
m = MockGurobiModel()

# v1 and v2 are vertex indices (integers)
v1 = 0
v2 = 1

# vert is a dictionary that maps edge tuples to variables
vert = {}

ARGS = {
    'm': m,
    'v1': v1,
    'v2': v2,
    'vert': vert
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
parseCor Ran
ran, honoured the contract we drafted
amf272/Distributional-MIPLIB-Generators/Corridor/lib/corMIPGen.py
code served (permissive licence) · get_code("45f46f62a0919dfa")
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 DiGraph. 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 networkx as nx

# Create a temporary .cor format file
temp_dir = tempfile.mkdtemp()
cor_file_path = os.path.join(temp_dir, "test_instance.cor")

# Write a sample .cor format file
cor_content = """p 5 2
n 1 0 10 5 2 2 3
n 2 0 15 8 2 1 3
n 3 1 20 10 2 1 2
n 4 0 12 6 1 5
n 5 1 18 9 1 4
"""

with open(cor_file_path, 'w') as f:
    f.write(cor_content)

ARGS = {
    'corlat_instance': cor_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 and dtype family int 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
partition_edges Ran
ran; our contract draft was wrong, not the code
amf272/Distributional-MIPLIB-Generators/GISP/gisp.py
code served (permissive licence) · get_code("dd7e516683e4561b")
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 numpy as np

# The function partitions edges based on a random probability threshold
# edges: an iterable of edge objects (can be tuples, strings, etc.)
# alpha: a float between 0 and 1 representing the probability threshold
# seed: an integer for random number generation

# Create a simple set of edges (represented as tuples)
edges = {(0, 1), (1, 2), (2, 3), (0, 3), (1, 3)}

# Alpha parameter: probability of an edge being removable
alpha = 0.6

ARGS = {
    "edges": edges,
    "alpha": alpha,
    "seed": 1
}
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 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
read_dimacs Ran
ran, honoured the contract we drafted
amf272/Distributional-MIPLIB-Generators/GISP/generate_dimacs.py
code served (permissive licence) · get_code("f90553cb93012f22")
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 Graph. 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
import networkx as nx

# Create a temporary DIMACS file with valid format
temp_file = tempfile.NamedTemporaryFile(mode='w', suffix='.dimacs', delete=False)
try:
    # Write a simple DIMACS graph file
    temp_file.write("c This is a comment\n")
    temp_file.write("p edge 4 3\n")
    temp_file.write("e 1 2\n")
    temp_file.write("e 2 3\n")
    temp_file.write("e 3 4\n")
    temp_file.flush()
    dimacs_file_path = temp_file.name
finally:
    temp_file.close()

ARGS = {
    'dimacs_file': dimacs_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int 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
getNodeVar Not yet run
unverified (harvested, no recorded run)
amf272/Distributional-MIPLIB-Generators/MVC/generator_MVC.py
code served (permissive licence) · get_code("29f1e018c3defa2f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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 6 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-22.

Repositories linked to this paper

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

Abstract

Mixed Integer Linear Programming (MILP) is a fundamental tool for modeling combinatorial optimization problems. Recently, a growing body of research has used machine learning to accelerate MILP solving. Despite the increasing popularity of this approach, there is a lack of a common repository that provides distributions of similar MILP instances across different domains, at different hardness levels, with standardized test sets. In this paper, we introduce Distributional MIPLIB, a multi-domain library of problem distributions for advancing ML-guided MILP methods. We curate MILP distributions from existing work in this area as well as real-world problems that have not been used, and classify them into different hardness levels. It will facilitate research in this area by enabling comprehensive evaluation on diverse and realistic domains. We empirically illustrate the benefits of using Distributional MIPLIB as a research vehicle in two ways. We evaluate the performance of ML-guided variable branching on previously unused distributions to identify potential areas for improvement. Moreover, we propose to learn branching policies from a mix of distributions, demonstrating that mixed distributions achieve better performance compared to homogeneous distributions when there is limited data and generalize well to larger instances. The dataset is publicly available at https://sites.google.com/usc.edu/distributional-miplib/home.

For agents

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

get_harvested_code_for_paper("2406.06954")
get_code_for_paper("2406.06954")
have("2406.06954")

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

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

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

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

Connect an agent — have() is free.