Package org.jquantlib.math.optimization

Examples of org.jquantlib.math.optimization.BoundaryConstraint


        this(process, 0.1, 0.1, 0.1, 0.5);
    }

    public BatesDoubleExpModel(final HestonProcess process, final double lambda, final double nuUp, final double nuDown, final double p) {
        super(process);
        arguments_.set(5, new ConstantParameter(p, new BoundaryConstraint(0.0, 1.0)));
        arguments_.set(6, new ConstantParameter(nuDown, new PositiveConstraint()));
        arguments_.set(7, new ConstantParameter(nuUp, new PositiveConstraint()));
        arguments_.set(8, new ConstantParameter(lambda, new PositiveConstraint()));

        if (System.getProperty("EXPERIMENTAL") == null) {
View Full Code Here


            throw new UnsupportedOperationException("Work in progress");
        }

        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

TOP

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

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.