Skip to Main Content Skip to Search
Product Documentation

Examples


Use this list to find examples in the documentation.

GlobalSearch and MultiStart

Creating a Problem Structure with createOptimProblem
Creating a Problem Structure with the Optimization Tool
Creating a Nondefault GlobalSearch Object
Creating a Nondefault MultiStart Object
CustomStartPointSet Object for Start Points
Cell Array of Objects for Start Points
Example of Run with GlobalSearch
Example of Run with MultiStart
Changing the Definition of Distinct Solutions
Types of Iterative Display
Visualizing the Basins of Attraction
GlobalSearch Output Function
MultiStart Plot Function
Searching for a Better Solution
Examples of Updating Problem Options
Changing Global Options
Reproducing a GlobalSearch or MultiStart Result
Finding Global or Multiple Local Minima
Using Only Feasible Start Points
Parallel MultiStart
Isolated Global Minimum

Pattern Search

Finding the Minimum of a Function Using the GPS Algorithm
Search and Poll
A Linearly Constrained Problem
Working with a Custom Plot Function
Using a Complete Poll in a Generalized Pattern Search
Comparing the Efficiency of Poll Options
Using a Search Method
Mesh Expansion and Contraction
Mesh Accelerator
Using Cache
Constrained Minimization Using patternsearch
Example of Vectorized Objective and Constraints

Genetic Algorithm

Rastrigin's Function
Mixed Integer Optimization of Rastrigin's Function
Integer Programming with a Nonlinear Equality Constraint
Creating a Custom Plot Function
Resuming the Genetic Algorithm from the Final Population
Setting the Initial Range
Linearly Constrained Population and Custom Plot Function
Global vs. Local Minima with GA
Using a Hybrid Function
Constrained Minimization Using ga
Multiobjective Optimization

Simulated Annealing

Minimizing De Jong's Fifth Function

  


Free Optimization Interactive Kit

Learn how to use optimization to solve systems of equations, fit models to data, or optimize system performance.

Get free kit

Trials Available

Try the latest version of optimization products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS