Uses of Class
net.finmath.optimizer.SolverException
Packages that use SolverException
Package
Description
Classes related to the calibration of Fourier models.
Provides some static functions, e.g., analytic valuation formulas or functions from linear algebra.
Provides classes to create a calibrated model of curves from a collection of calibration
products and corresponding target values.
Provides interface specification and implementation of volatility surfaces, e.g.,
interest rate volatility surfaces like (implied) caplet volatilities and swaption
volatilities.
Provides classes to create a calibrated model of curves from a collection of calibration
products and corresponding target values.
This package provides classes with numerical algorithm for optimization of
an objective function and a factory to easy construction of the optimizers.
Classes providing calibration to market data of volatility cubes.
Provides interface specification and implementation of volatility cubes, as well as a factory to create these, either via calibration from market data or construction
from parameters.
-
Uses of SolverException in net.finmath.fouriermethod.calibration
Methods in net.finmath.fouriermethod.calibration that throw SolverExceptionModifier and TypeMethodDescriptionCalibratedModel.getCalibration()
Solves the calibration problem thus providing a calibrated model. -
Uses of SolverException in net.finmath.functions
Methods in net.finmath.functions that throw SolverExceptionModifier and TypeMethodDescriptionstatic double[]
SABRModel.sabrCalibrateParameterForImpliedNormalVols(double underlying, double maturity, double[] givenStrikes, double[] givenVolatilities)
static double[]
SABRModel.sabrCalibrateParameterForImpliedNormalVols(double underlying, double maturity, double[] givenStrikes, double[] givenVolatilities, double[] parameterLowerBound, double[] parameterUpperBound)
static double[]
SABRModel.sabrCalibrateParameterForImpliedNormalVols(double underlying, double maturity, double[] givenStrikes, double[] givenVolatilities, double[] parameterInitialValues, double[] parameterSteps, double[] parameterLowerBound, double[] parameterUpperBound)
-
Uses of SolverException in net.finmath.marketdata.calibration
Methods in net.finmath.marketdata.calibration that throw SolverExceptionModifier and TypeMethodDescriptionSolver.getCalibratedModel(Set<ParameterObject> objectsToCalibrate)
Find the model such that the equationobjectiveFunctions.getValue(model) = 0
holds.CalibratedCurves.getCloneShifted(String symbol, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShifted(Map<String,Double> shifts)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShifted(Pattern symbolRegExp, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShiftedForRegExp(String symbolRegExp, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.Constructors in net.finmath.marketdata.calibration that throw SolverExceptionModifierConstructorDescriptionCalibratedCurves(Collection<CalibratedCurves.CalibrationSpec> calibrationSpecs)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products.CalibratedCurves(List<CalibratedCurves.CalibrationSpec> calibrationSpecs, AnalyticModel calibrationModel, double evaluationTime, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel, double evaluationTime, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model. -
Uses of SolverException in net.finmath.marketdata.model.volatilities
Methods in net.finmath.marketdata.model.volatilities that throw SolverExceptionModifier and TypeMethodDescriptionAbstractVolatilitySurfaceParametric.getCloneCalibrated(AnalyticModel calibrationModel, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, Map<String,Object> calibrationParameters)
AbstractVolatilitySurfaceParametric.getCloneCalibrated(AnalyticModel calibrationModel, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, Map<String,Object> calibrationParameters, ParameterTransformation parameterTransformation)
AbstractVolatilitySurfaceParametric.getCloneCalibrated(AnalyticModel calibrationModel, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, Map<String,Object> calibrationParameters, ParameterTransformation parameterTransformation, OptimizerFactory optimizerFactory)
Create a clone of this volatility surface using a generic calibration of its parameters to given market data. -
Uses of SolverException in net.finmath.marketdata2.calibration
Methods in net.finmath.marketdata2.calibration that throw SolverExceptionModifier and TypeMethodDescriptionSolver.getCalibratedModel(Set<ParameterObject> objectsToCalibrate)
Find the model such that the equationobjectiveFunctions.getValue(model) = 0
holds.CalibratedCurves.getCloneShifted(String symbol, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShifted(Map<String,Double> shifts)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShifted(Pattern symbolRegExp, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.CalibratedCurves.getCloneShiftedForRegExp(String symbolRegExp, double shift)
Returns the set curves calibrated to "shifted" market data, that is, the market date ofthis
object, modified by the shifts provided to this methods.Constructors in net.finmath.marketdata2.calibration that throw SolverExceptionModifierConstructorDescriptionCalibratedCurves(Collection<CalibratedCurves.CalibrationSpec> calibrationSpecs)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products.CalibratedCurves(List<CalibratedCurves.CalibrationSpec> calibrationSpecs, AnalyticModel calibrationModel, double evaluationTime, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model.CalibratedCurves(CalibratedCurves.CalibrationSpec[] calibrationSpecs, AnalyticModelFromCurvesAndVols calibrationModel, double evaluationTime, double calibrationAccuracy)
Generate a collection of calibrated curves (discount curves, forward curves) from a vector of calibration products and a given model. -
Uses of SolverException in net.finmath.optimizer
Methods in net.finmath.optimizer that throw SolverExceptionModifier and TypeMethodDescriptionstatic void
static void
static void
protected void
StochasticLevenbergMarquardt.prepareAndSetDerivatives(RandomVariable[] parameters, RandomVariable[] values, RandomVariable[][] derivatives)
protected void
StochasticLevenbergMarquardtAD.prepareAndSetDerivatives(RandomVariable[] parameters, RandomVariable[] values, RandomVariable[][] derivatives)
protected void
StochasticPathwiseLevenbergMarquardt.prepareAndSetDerivatives(RandomVariable[] parameters, RandomVariable[] values, RandomVariable[][] derivatives)
protected void
StochasticPathwiseLevenbergMarquardtAD.prepareAndSetDerivatives(RandomVariable[] parameters, RandomVariable[] values, RandomVariable[][] derivatives)
protected void
StochasticLevenbergMarquardt.prepareAndSetValues(RandomVariable[] parameters, RandomVariable[] values)
protected void
StochasticLevenbergMarquardtAD.prepareAndSetValues(RandomVariable[] parameters, RandomVariable[] values)
protected void
StochasticPathwiseLevenbergMarquardt.prepareAndSetValues(RandomVariable[] parameters, RandomVariable[] values)
protected void
StochasticPathwiseLevenbergMarquardtAD.prepareAndSetValues(RandomVariable[] parameters, RandomVariable[] values)
void
LevenbergMarquardt.run()
void
Optimizer.run()
Runs the optimization.void
StochasticLevenbergMarquardt.run()
void
StochasticOptimizer.run()
Runs the optimization.void
StochasticPathwiseLevenbergMarquardt.run()
void
LevenbergMarquardt.setDerivatives(double[] parameters, double[][] derivatives)
The derivative of the objective function.void
StochasticLevenbergMarquardt.setDerivatives(RandomVariable[] parameters, RandomVariable[][] derivatives)
The derivative of the objective function.void
StochasticPathwiseLevenbergMarquardt.setDerivatives(RandomVariable[] parameters, RandomVariable[][] derivatives)
The derivative of the objective function.abstract void
LevenbergMarquardt.setValues(double[] parameters, double[] values)
The objective function.void
Optimizer.ObjectiveFunction.setValues(double[] parameters, double[] values)
abstract void
StochasticLevenbergMarquardt.setValues(RandomVariable[] parameters, RandomVariable[] values)
The objective function.void
StochasticOptimizer.ObjectiveFunction.setValues(RandomVariable[] parameters, RandomVariable[] values)
abstract void
StochasticPathwiseLevenbergMarquardt.setValues(RandomVariable[] parameters, RandomVariable[] values)
The objective function. -
Uses of SolverException in net.finmath.singleswaprate.calibration
Methods in net.finmath.singleswaprate.calibration that throw SolverExceptionModifier and TypeMethodDescriptionPerform the calibrations and build the cube.Run the calibration.Run the calibration.static SABRVolatilityCube
SABRShiftedSmileCalibration.createSABRVolatilityCube(String name, LocalDate referenceDate, SwaptionDataLattice cashPayerPremiums, SwaptionDataLattice cashReceiverPremiums, SwaptionDataLattice physicalPremiumsATM, AnalyticModel model, double sabrDisplacement, double sabrBeta, double correlationDecay, double iborOisDecorrelation)
Calibrate a cube via shifting cash settled swaption smiles onto physically settled swaption atm volatility. -
Uses of SolverException in net.finmath.singleswaprate.model.volatilities
Methods in net.finmath.singleswaprate.model.volatilities that throw SolverExceptionModifier and TypeMethodDescriptionVolatilityCubeFactory.buildSABRVolatilityCube(String name, VolatilityCubeModel model, int[] terminations)
Build aSABRVolatilityCube
by calibration viaSABRCubeCalibration
.VolatilityCubeFactory.buildSABRVolatilityCube(String name, VolatilityCubeModel model, int[] terminations, DataTable initialRhos, DataTable initialBaseVols, DataTable initialVolvols)
Build aSABRVolatilityCube
by calibration viaSABRCubeCalibration
.VolatilityCubeFactory.buildShiftedSmileSABRCube(String name, VolatilityCubeModel model)
Build aSABRVolatilityCube
by calibration viaSABRShiftedSmileCalibration
.