Package org.jquantlib.math.optimization

Examples of org.jquantlib.math.optimization.PositiveConstraint


        if (System.getProperty("EXPERIMENTAL") == null) {
            throw new UnsupportedOperationException("Work in progress");
        }

        this.fixingTimes_ = fixingTimes;
        arguments_.set(0, new ConstantParameter(a, new PositiveConstraint()));
        arguments_.set(1, new ConstantParameter(b, new PositiveConstraint()));
        arguments_.set(2, new ConstantParameter(c, new PositiveConstraint()));
        arguments_.set(3, new ConstantParameter(d, new PositiveConstraint()));
    }
View Full Code Here


        }

        corrMatrix_ = new Matrix(size, size);
        factors = factors != 0 ? 0 : size;
        arguments_.set(0, new ConstantParameter(rho, new BoundaryConstraint(-1.0, 1.0)));
        arguments_.set(1, new ConstantParameter(beta, new PositiveConstraint()));
        generateArguments();
    }
View Full Code Here

       
       

        final LevenbergMarquardt solver = new LevenbergMarquardt(ts_.accuracy(), ts_.accuracy(), ts_.accuracy());
        final EndCriteria endCriteria = new EndCriteria(100, 10, 0.00, ts_.accuracy(), 0.00);
        final Constraint solverConstraint = forcePositive_ ? new PositiveConstraint() : new NoConstraint();

        // now start the bootstrapping.
        /*Size*/ final int iInst = localisation_-1;

       
View Full Code Here

TOP

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

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.