File Exchange Pick of the Week

Our best user submissions

Optimize, Quickly!

Contents

Brett's Pick this week has three components. All are by MathWorker Stuart Kozola, and all will help you become an expert user of our optimization tools. We frequently present and record Webinars that are available for free download and viewing. Stuart is a technical marketing guru who focuses on our math and data analysis tools. Whenever a Webinar focuses on optimization, Stuart is sure to be behind the scenes, if not in front of the microphone!

Getting Started with Optimization

First, I would like to share Stuart's link to the files used in the August 21, 2008 Webinar entitled "Tips and Tricks: Getting started using optimization with MATLAB". In that session, Stuart provides an overview of Optimization Toolbox and Global Optimization Toolbox with several examples, ranging from constrained curve fitting to general maximization problems. Stuart steps through a totally-cool illustrative example of maxima detection by attempting to locate the highest peak in a range of mountains. (Here, we can think of the topography as a analogy for an objective function.)

Global Optimization

Next, Stuart turns his attention to the problem of finding global optima from search domains that may include local maxima or minima: For these problems, our Global Optimization Toolbox can be quite useful. In a Webinar entitled " Global Optimization with MATLAB Products," Stuart shared a wealth of information about different types of optimization problems, including those for which a genetic algorithms is appropriate. Here is the File Exchange link to the files used in that Webinar.

Parallelizing Optimization Solutions

Finally, Stuart describes an approach to speeding up optimization problems, providing instruction for using the Parallel Computing Toolbox and MATLAB Distributed Computing Server to parallelize the calculation of optima. In this Webinar, Stuart minimizes the potential energy of electrons on a conducting body. He solves the optimization problem without the Parallel Computing Toolbox in about 84 seconds. Next, he opens a non-local 4-core cluster and re-solves the problem in parallel, simply by checking an "evaluate in parallel" checkbox. This time the same problem is solved in 25 seconds--approximately a 3.4x speedup. Not bad for checking a checkbox! Comments?

Published with MATLAB® 7.11
|

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.