Package org.jquantlib.math.optimization

Examples of org.jquantlib.math.optimization.Constraint$Impl


        }

        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());
        int i = localisation -1;
        //FIXME, convexmonotone interpolation?
        final int dataAdjust = 1;

        for (; i < nInsts; ++ i) {
View Full Code Here


            final double[] weights) {

        QL.require(weights==null || weights.length == instruments.size(),
        "mismatch between number of instruments and weights"); // TODO: message

        Constraint c;
        if (additionalConstraint.empty()) {
            c = constraint_;
        } else {
            c = new CompositeConstraint(constraint_, additionalConstraint);
        }
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.Constraint$Impl

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.