Skip to main content
QUICK REVIEW

[Paper Review] Solving maximum cut problems by simulated annealing

Tor G. J. Myklebust|arXiv (Cornell University)|May 9, 2015
Computational Geometry and Mesh GenerationComputer Science8 references14 citations
TL;DR

This paper presents a simple, efficient simulated annealing implementation for the maximum cut problem, using a classical formulation from Johnson et al. (1989). Despite its minimal tuning, the approach outperforms established heuristics on 40 of 89 standard instances, finding better solutions than previously known within minutes on a single run with default settings.

ABSTRACT

This paper gives a straightforward implementation of simulated annealing for solving maximum cut problems and compares its performance to that of some existing heuristic solvers. The formulation used is classical, dating to a 1989 paper of Johnson, Aragon, McGeoch, and Schevon. This implementation uses no structure peculiar to the maximum cut problem, but its low per-iteration cost allows it to find better solutions than were previously known for 40 of the 89 standard maximum cut instances tested within a few minutes of computation.

Motivation & Objective

  • To evaluate the performance of a basic simulated annealing implementation against established heuristic solvers for the maximum cut problem.
  • To assess whether simple, classical metaheuristics can still outperform more complex modern approaches on standard benchmark instances.
  • To establish a baseline for future computational studies by testing a minimal implementation on widely used test instances.
  • To investigate the impact of annealing schedule parameters and random seed variation on solution quality.

Proposed method

  • The algorithm uses a standard simulated annealing framework with an exponential acceptance probability based on objective degradation and a fixed annealing schedule.
  • Solutions are represented as assignments of vertices to one of two shores, encoded as ±1 values in a vector.
  • The objective function change upon flipping a vertex's assignment is computed in O(1) time by tracking the net contribution of each vertex’s incident edges.
  • The implementation uses a constant-time update for vertex flips and linear-time updates for neighbor contributions, enabling high iteration counts.
  • The annealing schedule uses a fixed heatmax of 10,000 and a step size of 2e-6, independent of graph size or weight distribution.
  • The code is implemented in C++ and processes input in standard graph format, supporting up to 33,333 vertices.

Experimental results

Research questions

  • RQ1Can a simple, unoptimized simulated annealing implementation outperform state-of-the-art heuristic solvers on standard maximum cut benchmarks?
  • RQ2How does the performance of this basic simulated annealing approach compare to Scatter Search, CirCut, and VNSPR with Path Relinking across diverse graph instances?
  • RQ3To what extent can default parameter settings and a single random seed produce results better than previously known best solutions?
  • RQ4Does tuning the annealing schedule or changing the random seed significantly improve solution quality on specific instances?

Key findings

  • The simulated annealing implementation found better solutions than the best previously known results for 40 out of 89 standard maximum cut instances.
  • On 36 of these 89 instances, the method produced solutions better than any solution found by CirCut, VNSPR, or Scatter Search in the comparison.
  • The algorithm explored approximately 5×10^9 feasible solutions within less than ten minutes, significantly outpacing other methods in solution exploration rate.
  • With minor parameter changes—such as heatmax = 40,000 and step size = 5e-6—the method found a solution of value 76,850 on instance g35, surpassing all other heuristics.
  • Using a fixed random seed (e.g., srand(3)) produced a solution matching CirCut’s best result on instance toursg3-8, demonstrating the impact of randomness on outcome.
  • The results suggest that simple, classical metaheuristics like simulated annealing can remain competitive with modern, complex heuristics when given sufficient exploration time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.