Class MultivariateMultiStartOptimizer

  extended by org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer<MultivariateFunction>
      extended by org.apache.commons.math3.optimization.MultivariateMultiStartOptimizer
All Implemented Interfaces:
BaseMultivariateOptimizer<MultivariateFunction>, BaseOptimizer<PointValuePair>, MultivariateOptimizer

Deprecated. As of 3.1 (to be removed in 4.0).

public class MultivariateMultiStartOptimizer
extends BaseMultivariateMultiStartOptimizer<MultivariateFunction>
implements MultivariateOptimizer

Special implementation of the MultivariateOptimizer interface adding multi-start features to an existing optimizer. This class wraps a classical optimizer to use it several times in turn with different starting points in order to avoid being trapped into a local extremum when looking for a global one.

$Id: 1422230 2012-12-15 12:11:13Z erans $

Constructor Summary
MultivariateMultiStartOptimizer(MultivariateOptimizer optimizer, int starts, RandomVectorGenerator generator)
          Deprecated. Create a multi-start optimizer from a single-start optimizer.
Method Summary
Methods inherited from class org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer
getConvergenceChecker, getEvaluations, getMaxEvaluations, getOptima, optimize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.math3.optimization.BaseMultivariateOptimizer
Methods inherited from interface org.apache.commons.math3.optimization.BaseOptimizer
getConvergenceChecker, getEvaluations, getMaxEvaluations

Constructor Detail


public MultivariateMultiStartOptimizer(MultivariateOptimizer optimizer,
                                       int starts,
                                       RandomVectorGenerator generator)
Create a multi-start optimizer from a single-start optimizer.

optimizer - Single-start optimizer to wrap.
starts - Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
generator - Random vector generator to use for restarts.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.