Find multiple local minima
A MultiStart
object contains properties (options)
that affect how the run
method
repeatedly runs a local solver, or generates a GlobalOptimSolution
object.
constructs MS
= MultiStartMS
,
a MultiStart
solver with its properties set to the
defaults.
constructs MS
= MultiStart('PropertyName
',PropertyValue
,...)MS
using
options, specified as property name and value pairs.
creates
a copy of the MS
= MultiStart(oldMS
,'PropertyName
',PropertyValue
,...)oldMS
MultiStart
solver,
with the named properties changed to the specified values.
constructs MS
= MultiStart(GS
)MS
,
a MultiStart
solver, with common parameter values
from the GS
GlobalSearch
solver.

Detail level of the output to the Command Window:
Default: 

Tolerance on the time Default: 

A function handle or cell array of function handles to output functions. Output functions run after each local solver call. They also run when the global solver starts and ends. Write your output functions using the syntax described in OutputFcns. See GlobalSearch Output Function. Default: 

A function handle or cell array of function handles to plot functions. Plot functions run after each local solver call. They also run when the global solver starts and ends. Write your plot functions using the syntax described in OutputFcns. There are two builtin plot functions:
Default: 

Directs the solver to exclude certain start points from being run:
Default: 

Describes how close two objective function values must be for
solvers to consider them identical for creating the vector of local
solutions. Solvers consider two solutions identical if they are within Default: 

Describes how close two points must be for solvers to consider
them identical for creating the vector of local solutions. Solvers
compute the distance between a pair of points with Default: 

Distribute local solver calls to multiple processors:
Default: 
run  Run local solver from multiple points 
Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB^{®} Programming Fundamentals documentation.
Run MultiStart
on 20 instances of a problem
using the fmincon
sqp
algorithm:
opts = optimoptions(@fmincon,'Algorithm','sqp'); problem = createOptimProblem('fmincon','objective',... @(x) x.^2 + 4*sin(5*x),'x0',3,'lb',5,'ub',5,'options',opts); ms = MultiStart; [x,f] = run(ms,problem,20)
A detailed description of the algorithm appears in MultiStart Algorithm.