Documentation |
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.
MS = MultiStart constructs MS, a MultiStart solver with its properties set to the defaults.
MS = MultiStart('PropertyName',PropertyValue,...) constructs MS using options, specified as property name and value pairs.
MS = MultiStart(oldMS,'PropertyName',PropertyValue,...) creates a copy of the oldMS MultiStart solver, with the named properties changed to the specified values.
MS = MultiStart(GS) constructs MS, a MultiStart solver, with common parameter values from the GS GlobalSearch solver.
Display |
Detail level of the output to the Command Window:
Default: final |
MaxTime |
Tolerance on the time MultiStart runs. MultiStart and its local solvers halt when they see MaxTime seconds have passed since the beginning of the run. Time means wall clock as opposed to processor cycles. Default: Inf |
OutputFcns |
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: [] |
PlotFcns |
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 built-in plot functions:
Default: [] |
StartPointsToRun |
Directs the solver to exclude certain start points from being run:
Default: all |
TolFun |
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 TolX distance of each other and have objective function values within TolFun of each other. If both conditions are not met, solvers report the solutions as distinct. Set TolFun to 0 to obtain the results of every local solver run. Set TolFun to a larger value to have fewer results. Default: 1e-6 |
TolX |
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 norm, the Euclidean distance. Solvers consider two solutions identical if they are within TolX distance of each other and have objective function values within TolFun of each other. If both conditions are not met, solvers report the solutions as distinct. Set TolX to 0 to obtain the results of every local solver run. Set TolX to a larger value to have fewer results. Default: 1e-6 |
UseParallel |
Distribute local solver calls to multiple processors:
Default: false |
Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB^{®} Programming Fundamentals documentation.