Skip to content

A simulated annealing solver and visualization for Thomson's Problem

License

Notifications You must be signed in to change notification settings

andy-wood/Thomson-Problem-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thomson-Problem-Unity

An interactive Monte Carlo hill climbing solver and visualization for Thomson's Problem

Controls:

R - rotate the figure

, / < - subtract a point

. / > - add a point

The Thompson Problem is about find the stable, minimum-energy configuration of electrons as they repel each other on a sphere. However, before I knew about Thompson's Problem, I conceived of it as simply finding the configuration of N points in 3D space that is most analogous to an equilateral triangle. For 4 points, this is a regular tetrahedron. For more than 4 points, there is no solution in 3D with every point pair equidistant (such a solution is a k-simplex in successively higher dimensions). But there is a solution that minimizes the sum of the differences between the lengths of every point pair. The surface of this figure may or may not be equilateral. This turns out to be very similar to Thompson's Problem, except that certain solutions so far seem to be ellipsoidal (I believe most are spherical or nearly spherical, though).

Update: It turns out that the general 3D geometric problems being solved here are called Lennard-Jones clusters. They've been studied and catalogued extensively. Happily, this program gets the same answers.

The program continuously searches for a better solution, while the rendered spheres (points) continuously move towards the latest best solution.

About

A simulated annealing solver and visualization for Thomson's Problem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages