RandomStartPointSet class

Random start points


Describes how to generate a set of pseudorandom points for use with MultiStart. A RandomStartPointSet object does not contain points. It contains parameters used in generating the points when MultiStart runs, or by the list method.


RS = RandomStartPointSet constructs a default RandomStartPointSet object.

RS = RandomStartPointSet('PropertyName',PropertyValue,...) constructs the object using options, specified as property name and value pairs.

RS = RandomStartPointSet(OLDRS,'PropertyName',PropertyValue,...) creates a copy of the OLDRS RandomStartPointSet object, with the named properties altered with the specified values.



Absolute value of default bounds to use for unbounded problems (positive scalar).

If a component has no bounds, list uses a lower bound of -ArtificialBound, and an upper bound of ArtificialBound.

If a component has a lower bound lb, but no upper bound, list uses an upper bound of lb + 2*ArtificialBound. Similarly, if a component has an upper bound ub, but no lower bound, list uses a lower bound of ub - 2*ArtificialBound.

Default: 1000


Number of start points to generate (positive integer)

Default: 10


listGenerate start points

Copy Semantics

Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB® Programming Fundamentals documentation.


Create a RandomStartPointSet object for 40 points, and use list to generate a point matrix for a seven-dimensional problem:

rs = RandomStartPointSet('NumStartPoints',40); % 40 points
problem = createOptimProblem('fminunc','x0',ones(7,1),...
ptmatrix = list(rs,problem); % 'list' generates the matrix
Was this topic helpful?