Package org.jquantlib.math.optimization

Examples of org.jquantlib.math.optimization.Simplex


            final double levenbergMarquardtXtol,
            final double levenbergMarquardtGtol)
    {
        switch(optimizationMethodType){
        case simplex:
            return new Simplex(simplexLambda);
        case levenbergMarquardt:
            return new LevenbergMarquardt(levenbergMarquardtEpsfcn,
                    levenbergMarquardtXtol,
                    levenbergMarquardtXtol);
        default:
View Full Code Here


        final boolean isRhoFixed[]   = {true, false};

        final double calibrationTolerance = 5.0e-8;
        // initialize optimization methods
        final OptimizationMethod methods[] = new OptimizationMethod[2];
        methods[0] = new Simplex(0.01);
        methods[1] = new LevenbergMarquardt(1e-8, 1e-8, 1e-8);
        // Initialize end criteria
        final EndCriteria endCriteria = new EndCriteria(100000, 100, 1e-8, 1e-8, 1e-8);

        // Test looping over all possibilities
View Full Code Here

      // if no optimization method or endCriteria is provided, we provide
      // one
      if (optMethod_ != null) {
                // optMethod_ = boost::shared_ptr<OptimizationMethod>(new
        // LevenbergMarquardt(1e-8, 1e-8, 1e-8));
        optMethod_ = new Simplex(0.01);
            }
      if (endCriteria_ != null) {
        endCriteria_ = new EndCriteria(60000, 100, 1e-8, 1e-8, 1e-8);
      }
      itsCoeffs.weights_ = new Array(vx.size());
View Full Code Here

        final boolean isRhoFixed[]   = {true, false};

        final double calibrationTolerance = 5.0e-8;
        // initialize optimization methods
        final OptimizationMethod methods[] = new OptimizationMethod[2];
        methods[0] = new Simplex(0.01);
        methods[1] = new LevenbergMarquardt(1e-8, 1e-8, 1e-8);
        // Initialize end criteria
        final EndCriteria endCriteria = new EndCriteria(100000, 100, 1e-8, 1e-8, 1e-8);

        // Test looping over all possibilities
View Full Code Here

        final boolean isRhoFixed[]= {true, false};

        final double calibrationTolerance = 5.0e-8;
        // initialize optimization methods
        final List<OptimizationMethod> methods_ = new ArrayList<OptimizationMethod>();
        methods_.add(new Simplex(0.01));
        methods_.add(new LevenbergMarquardt(1e-8, 1e-8, 1e-8));
        // Initialize end criteria
        final EndCriteria endCriteria = new EndCriteria(100000, 100, 1e-8, 1e-8, 1e-8);
        // Test looping over all possibilities
        for (int j=0; j<methods_.size(); ++j) {
View Full Code Here

            final double levenbergMarquardtXtol,
            final double levenbergMarquardtGtol)
    {
        switch(optimizationMethodType){
        case simplex:
            return new Simplex(simplexLambda);
        case levenbergMarquardt:
            return new LevenbergMarquardt(levenbergMarquardtEpsfcn,
                    levenbergMarquardtXtol,
                    levenbergMarquardtXtol);
        default:
View Full Code Here

      // if no optimization method or endCriteria is provided, we provide
      // one
      if (optMethod_ != null) {
                // optMethod_ = boost::shared_ptr<OptimizationMethod>(new
        // LevenbergMarquardt(1e-8, 1e-8, 1e-8));
        optMethod_ = new Simplex(0.01);
            }
      if (endCriteria_ != null) {
        endCriteria_ = new EndCriteria(60000, 100, 1e-8, 1e-8, 1e-8);
      }
      itsCoeffs.weights_ = new Array(vx.size());
View Full Code Here

TOP

Related Classes of org.jquantlib.math.optimization.Simplex

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.