Simulated annealing algorithm.

Posted on 2006-04-12
Last Modified: 2010-04-17
Does anyone have any good and brief source code with documentation about the simulated annealing algorithm?
the ones in the internet are too general. I would prefer something with comments and examples.

I have another question about this alogrithm in the

Question by:xenoula
    LVL 84

    Expert Comment

    The idea of simulated annealing is to search for the minimum of an "energy" function,
    by starting at a high "temperature" where transitions are likely even if the raise the energy,
    and gradually cooling the temperature so that transitions that raise the energy by a lot become less and less likely.
    This tends to search near where the better states have been found, while tending
    to prevent the search from getting stuck in a local minimum that is at a lower energy state than its neighboring states but higher than the global minimum.
    This is similar to what happens when you slowly cool a crystal to minimze defects that could get frozen in if you cooled it quickly.
    LVL 84

    Accepted Solution


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    EvenOdd challenge 10 69
    array6 challenfge 6 48
    nestparen challenge 4 37
    delphi parse string to params 3 49
    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    This article will show, step by step, how to integrate R code into a R Sweave document
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now