/src/main/java/net/finmath/marketdata/calibration/Solver.java
optimizer.run( ) ; final Optimizer optimizer = optimizerFactory.getOptimizer( objectiveFunction, initialParameters, lowerBound, upperBound, zeros) ;
final Optimizer optimizer = optimizerFactory.getOptimizer ( objectiveFunction, initialParameters, lowerBound, upperBound, zeros ) ; optimizer.run ( ) ;
} }; if(optimizerFactory == null) { final int maxThreads = Math.min(2 * Math.max(Runtime.getRuntime().availableProcessors(), 1), initialParameters.length); optimizerFactory = new OptimizerFactoryLevenbergMarquardt(maxIterations, calibrationAccuracy, maxThreads); } <extra_id_0> iterations = optimizer.getIterations(); double[] bestParameters = optimizer.getBestFitParameters(); if(parameterTransformation != null) { bestParameters = parameterTransformation.getParameter(bestParameters); } AnalyticModel calibratedModel = null;