Hysteresis in Combinatorial Optimization Problems

Yuling Guan, Ang Li, Sven Koenig, Stephan Haas, T. K. Satish Kumar

Abstract

Physical hysteresis, the phenomenon where a system's state depends on its history, is a fundamental characteristic of magnetic materials and other complex systems. This paper demonstrates that hysteresis can be modeled as a combinatorial artifact using Weighted Constraint Satisfaction Problems (WCSPs). By employing a "top $K$ solution" framework to approximate the Boltzmann distribution and introducing a "memory effect" via unary constraints, the authors provide a principled statistical mechanics perspective. This approach effectively handles complex long-range and $k$-body interactions, offering a flexible alternative to traditional analytical models and standard Monte Carlo simulations.

Introduction

Hysteresis is ubiquitous in the physical world, most notably in magnetism: as an external magnetic field is cycled, the material's magnetization follows divergent paths, forming a characteristic loop. Explaining this behavior through microscopic models, such as individual atomic spins, is notoriously difficult due to the intricate nature of particle interactions. Traditional analytical methods often rely on oversimplifying assumptions, while common simulation techniques like Monte Carlo can be computationally expensive or lack a direct connection to statistical mechanics principles. This research bridges the gap by treating hysteresis as a problem of combinatorial optimization.

Methodology

The researchers translate the physics of the Ising model—a mathematical representation of ferromagnetism—into the language of Weighted Constraint Satisfaction Problems (WCSPs).

  1. Mapping Physics to CS: Atomic spins ($\pm 1$) are mapped to Boolean variables. The system's energy (Hamiltonian) is represented through weighted constraints: unary constraints represent the external magnetic field, while binary and ternary constraints represent interactions between spins.
  2. The Top $K$ Framework: Instead of identifying only the single lowest-energy state, the framework finds the top $K$ solutions. Because the Boltzmann distribution is a negative exponential, the system's behavior is dominated by these low-energy states, allowing for an efficient approximation of the partition function.
  3. Encoding Memory: To simulate history-dependence, a "memory effect" parameter, $\Gamma$, is introduced. When the external field changes, the WCSP is updated with new unary constraints that assign a lower cost to states similar to the previous top $K$ solutions, forcing the system to "remember" its past.

The model was implemented on a $40 \times 40$ 2D lattice, with the resulting Integer Linear Programs (ILPs) solved using Gurobi and the Toulbar2 WCSP solver.

Key Results

The WCSP model successfully reproduced the characteristic S-shaped hysteresis curves observed in real ferromagnetic materials. A significant discovery was the clear inverse relationship between the memory parameter ($\Gamma$) and physical temperature ($T$). The authors identified a best-fit power law, $\Gamma \propto T^{-1.04}$, validating that their heuristic memory effect accurately mirrors the physical reality where lower temperatures increase the stability of magnetic states.

Hysteresis simulation results and the inverse relationship between the memory parameter $\Gamma$ and temperature $T$.

Unlike traditional physics models that struggle with complex interactions, the WCSP framework handles long-range and $k$-body interactions naturally as higher-arity constraints. Incorporating long-range dipolar interactions (where every spin interacts with every other spin) resulted in smoother hysteresis curves. The model accurately tracked critical physical metrics, such as coercivity ($H_c$) and the saturation field ($H_s$), finding that $H_s$ increases linearly with the strength of dipolar coupling ($D/J$).

Long-range hysteresis curves and the dependence of critical field values ($H_c, H_s$) on the dipolar coupling parameter $D/J$.

In systems with 3-spin interactions, the model exhibited steeper transitions, indicative of meta-stable states where a system becomes temporarily trapped in a high-energy configuration.

Discussion and Future Work

This work establishes that hysteresis is an inherent artifact of how combinatorial states shift under changing constraints. By focusing on the top $K$ solutions, the authors provide a middle ground between exact analytical solutions and purely stochastic simulations. While computationally intensive for very large lattices, the framework's flexibility makes it a powerful tool for studying complex physical systems.

Future research will focus on optimizing the top $K$ solution framework for better scalability. Additionally, the authors believe this combinatorial approach can be generalized to understand hysteresis in non-physical domains, such as logistics or scheduling, where history-dependent constraints are often present.

Summary updated

Abstract

Hysteresis is a physical phenomenon reflected in macroscopic observables of materials that are subjected to external perturbations. For example, magnetic hysteresis is observed in ferromagnetic metals such as iron, nickel and cobalt in the presence of a changing external magnetic field. In this paper, we model hysteresis using combinatorial models of microscopic spin interactions, for which we invoke the top K solution framework for Ising models and their generalizations, called Weighted Constraint Satisfaction Problems (WCSPs). We show that the WCSP model with a simple "memory effect" can be used to understand hysteresis combinatorially and from the perspective of statistical mechanics. Compared to the basic Ising model, the WCSP framework allows accurate simulations of long-range and k-body interactions between the spins; and compared to other simulation frameworks, such as Monte Carlo methods, our WCSP framework has the advantage of using a principled statistical mechanics perspective. Our WCSP framework also allows us to understand hysteresis more generally in combinatorial optimization problems, with or without a connection to physically occurring phenomena.
BibTeX
@inproceedings{guan2021hysteresis,
  author = {Yuling Guan and Ang Li and Sven Koenig and Stephan Haas and T. K. Satish Kumar},
  title = {{Hysteresis in Combinatorial Optimization Problems}},
  booktitle = {FLAIRS},
  year = {2021},
  doi = {10.32473/flairs.v34i1.128493},
}

Loading related content...

Figure