Skip to Main Content

Download the Code

Download the code described in "Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox" that finds the minimum of a nonsmooth surface using:

  • The genetic algorithm
  • The genetic algorithm in conjunction with a derivative-based algorithm from the Optimization Toolbox
  • The pattern search algorithm

You will need the Optimization Toolbox and the Genetic Algorithm and Direct Search Toolbox to run this code. Request a 30-day trial of these toolboxes.

Please complete and submit the form below.

Download Code

Please Note : This form is no longer in use