Several exact or inexact Monte-Carlo-based algorithms exist:
Direct Monte-Carlo sampling In this method, random simulations are used to find an approximate solution. Example: The
traveling salesman problem is what is called a conventional optimization problem. That is, all the facts (distances between each destination point) needed to determine the optimal path to follow are known with certainty and the goal is to run through the possible travel choices to come up with the one with the lowest total distance. However, let's assume that instead of wanting to minimize the total distance traveled to visit each desired destination, we wanted to minimize the total time needed to reach each destination. This goes beyond conventional optimization since travel time is inherently uncertain (traffic jams, time of day, etc.). As a result, to determine our optimal path we would want to use simulation - optimization to first understand the range of potential times it could take to go from one point to another (represented by a probability distribution in this case rather than a specific distance) and then optimize our travel decisions to identify the best path to follow taking that uncertainty into account.
Stochastic tunneling Stochastic tunneling (STUN) is an approach to global optimization based on the
Monte Carlo method-
sampling of the function to be objectively minimized in which the function is nonlinearly transformed to allow for easier tunneling among regions containing function minima. Easier tunneling allows for faster exploration of sample space and faster convergence to a good solution.
Parallel tempering Parallel tempering, also known as
replica exchange MCMC sampling, is a
simulation method aimed at improving the dynamic properties of
Monte Carlo method simulations of physical systems, and of
Markov chain Monte Carlo (MCMC) sampling methods more generally. The replica exchange method was originally devised by Swendsen, then extended by Geyer and later developed, among others, by
Giorgio Parisi., Sugita and Okamoto formulated a
molecular dynamics version of parallel tempering:{{cite journal |author = Y. Sugita and Y. Okamoto |year=1999 |title = Replica-exchange molecular dynamics method for protein folding |journal = Chemical Physics Letters |volume = 314 |issue=1–2 |pages = 141–151 |doi=10.1016/S0009-2614(99)01123-9 Essentially, one runs
N copies of the system, randomly initialized, at different temperatures. Then, based on the Metropolis criterion one exchanges configurations at different temperatures. The idea of this method is to make configurations at high temperatures available to the simulations at low temperatures and vice versa. This results in a very robust ensemble which is able to sample both low and high energy configurations. In this way, thermodynamical properties such as the specific heat, which is in general not well computed in the canonical ensemble, can be computed with great precision. ==Heuristics and metaheuristics ==