Skip to content

Sushi0998/Max-Cut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

Simulated a Markov chain Monte Carlo, and calculated the Max-cut (cut of a weighted garph) using a Spin glass model by implementing a acceptance function and receiving a stationary distribution using Metropolis-Hastings algorithm.

Beta = 1

image

The maximum cut value come out to be 42

The given the code strictly looks for the best value, the narure of the graph looks a bit linear in upward direction. The chance of getting the best value is likely high for Beta = 1

Beta = 0

image

The maximum cut value come out to be 192

The search for the best value is very irregular

Beta = -1

image

The maximum cut value come out to be 2165

The grapgh looks in a bit linear in downward direction.

Releases

No releases published

Packages

No packages published

Languages