Clear Filters
Clear Filters

Can MultiStart be vectorized ?

1 view (last 30 days)
mahmoud tarek
mahmoud tarek on 21 Dec 2019
Answered: mahmoud tarek on 22 Dec 2019
Can MultiStart be modified to be vectorized like GeneticAlgorithm?

Accepted Answer

Walter Roberson
Walter Roberson on 21 Dec 2019
No, but you can add the 'UseParallel', true option, which it will pass on the the solver. Some solvers can make use of that; for example, fmincon can do the finite differencing in parallel (but not much else)
  4 Comments
mahmoud tarek
mahmoud tarek on 22 Dec 2019
I wanted to know if there is any possible way to make multistart vectorized. A change in multistart code itself.is that possible?
Walter Roberson
Walter Roberson on 22 Dec 2019
The running of the solvers is done by constructing a number of starting points, and then calling fmultistart() passing in the problem description and cell arrays of starting points.
Unfortunately, fmultistart is toolbox/globaloptim/globaloptim/private/fmultistart.p -- that is, code is not available for it, so it cannot be modified.

Sign in to comment.

More Answers (1)

mahmoud tarek
mahmoud tarek on 22 Dec 2019
Thank you

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!