A comparison of optimization algorithms is only as informative as the mathematical instances, computational budgets and evaluation rules behind it. A solver that is useful for a sparse graph may behave differently on a dense portfolio model. A method that returns a strong answer quickly may not be the one that improves most during a longer search.

Begin with one objective convention

Store the original model and a standalone scoring function. Decide whether the problem is a minimization or maximization. If converting an Ising model to binary form, preserve the constant offset. For constrained problems, evaluate feasibility separately. An infeasible assignment with a lower objective is not a better feasible solution.

Suppose a Max-Cut model uses the indicator expression (1 − sisj)/2 for spins in {−1,1}. The following independent scoring example checks that it agrees with the binary expression after a change of variables.

Illustration: standalone Python calculation.

from itertools import product
edges=[(0,1,2),(1,2,3),(0,2,1)]
for x in product((0,1),repeat=3):
    s=[2*v-1 for v in x]
    a=sum(w*(x[i]+x[j]-2*x[i]*x[j]) for i,j,w in edges)
    b=sum(w*(1-s[i]*s[j])//2 for i,j,w in edges)
    assert a==b

Use such a check on the actual models before interpreting performance results. An objective-sense mistake can reverse a comparison, while double-counting symmetric entries can invalidate its numerical scale.

Illustration. For a model with a single pair term 3x0x1, the assignment (1,1) scores three. If a symmetric matrix is evaluated as xTQx, its off-diagonal entries must each be 1.5 to represent the same term. Putting three in both entries produces six. A common evaluator prevents such a convention error from masquerading as a solver difference.

Use a common definition of computational cost

A requested duration, a sweep count and an iteration count are different quantities. Record search and preparation time; keep the complete computational resource conditions in the reproducibility record. If using a remote solver alongside a local library, total elapsed time is meaningful to the reader, but the hardware conditions are not identical. A controlled same-hardware experiment is a separate measurement.

For each algorithm use documented settings and preselected seeds. A tuning study can be useful, provided that tuning cost and test data are kept separate. Include both successful and failed runs. Summarize per-instance results before aggregating across a family so that a few very large objective values do not dominate the conclusion.

Report the distribution of outcomes

Measure solution quality at several time budgets, the time to a shared target and the frequency of feasible results. On small instances, compute exact optima. Where exact solutions are unavailable, use valid bounds or explicitly labeled best-known references. Report the median and variation across seeds rather than only the strongest run. Publish the model generator, evaluator, versions and resource conditions alongside the results. A benchmark constructed in this way gives researchers a useful reference and helps developers select an algorithm for their own workload.

Use the 4colors Optimizer for QUBO as one reference in a reproducible binary optimization experiment.