Skip to content

Implementation and visualization of some local search optimization algorithms solving the rectangle packing problem

License

Notifications You must be signed in to change notification settings

tabneib/localsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Search Optimization Algorithms

Implementation of some classic local search optimization algorithms solving the optimal rectangle packing problem:

  • Classical local search
  • Simulated annealing
  • Taboo search

The algorithms are visualized for an randomly-generated set of rectangles of any given size. User can choose between running the whole algorithm at once with a given delay between the intermediate steps and running one single step of the algorithm. Changes between two adjacent steps are annotated accordingly.

The classical local search algorithm packing 40 rectangles. Rectangles are moved from black-colored boxes to yellow-colored ones. The being-moved rectangles are annoted with red color:

The simulated annealing algorithm packing 40 rectangles. Red background indicates the algorithm is temporally stepping to a worse packing solution:

The classical local search algorithm packing 526 rectangles into 31 boxes:

About

Implementation and visualization of some local search optimization algorithms solving the rectangle packing problem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages