/src/main/java/net/finmath/optimizer/StochasticOptimizerFactoryPathwiseLevenbergMarquardtAD.java
objectiveFunction.setValues( values, values) ;
objectiveFunction.setValues ( parameters, values ) ;
public StochasticOptimizer getOptimizer(final ObjectiveFunction objectiveFunction, final RandomVariable[] initialParameters, final RandomVariable[] lowerBound, final RandomVariable[] upperBound, final RandomVariable[] parameterSteps, final RandomVariable[] targetValues) { return new StochasticPathwiseLevenbergMarquardtAD(initialParameters, targetValues, null, null, maxIterations, errorTolerance, null) { private static final long serialVersionUID = -4802903981061716810L; @Override public void setValues(final RandomVariable[] parameters, final RandomVariable[] values) throws SolverException { <extra_id_0> } }; } }