Skip to content Skip to sidebar Skip to footer

Python Module For Multiple Variable Global Optimization

I have been looking for a python module that implements the common techniques of global optimization (finding the global minimum of a function in N dimensions) without success. If

Solution 1:

Scipy's optimize module has a dual_annealing function that might fit your needs. Also, you should check out the PyEvolve module for doing a genetic algorithm.

Solution 2:

Solution 3:

One of the most common is scipy.optimize.

For genetic algorithms, there's pygene.

Also, the aima-python project has implementations of algorithms described in Russell and Norvig's "Artificial Intelligence: A Modern Approach".

Solution 4:

I've been working on a detailed comparison of many python global optimizers (I assume you are interested in derivative-free optimization where there are plenty of local minima).

To summarize, I'd recommend scipy.optimize and if you're in dimension less than say ten, the SHGO algorithm therein is really solid. You might want to read up on it if you have a passing interest in homology. It is better than some previous ones, such as basin-hopping, because it cleverly tries to avoid redundant local searches.

The full list and comparisons are in the report

Solution 5:

Simulated Annealing:

frigidum is a python package for simulated annealing.

Post a Comment for "Python Module For Multiple Variable Global Optimization"