public class Solver extends Object
calibrationProducts with respect to given CurveFromInterpolationPointss.
The model and the curve are assumed to be immutable, i.e., the solver
will return a calibrate clone, containing clones for every curve
which is part of the set of curves to be calibrated.
The calibration is performed as a multi-threaded global optimization.
I will greatly profit from a multi-core architecture.| Constructor and Description |
|---|
Solver(AnalyticModel model,
Vector<AnalyticProduct> calibrationProducts)
Generate a solver for the given parameter objects (independents) and
objective functions (dependents).
|
Solver(AnalyticModel model,
Vector<AnalyticProduct> calibrationProducts,
double evaluationTime,
double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and
objective functions (dependents).
|
Solver(AnalyticModel model,
Vector<AnalyticProduct> calibrationProducts,
List<Double> calibrationTargetValues,
double evaluationTime,
double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and
objective functions (dependents).
|
Solver(AnalyticModel model,
Vector<AnalyticProduct> calibrationProducts,
List<Double> calibrationTargetValues,
ParameterTransformation parameterTransformation,
double evaluationTime,
double calibrationAccuracy)
Generate a solver for the given parameter objects (independents) and
objective functions (dependents).
|
Solver(AnalyticModel model,
Vector<AnalyticProduct> calibrationProducts,
List<Double> calibrationTargetValues,
ParameterTransformation parameterTransformation,
double evaluationTime,
StochasticOptimizerFactory optimizerFactory)
Generate a solver for the given parameter objects (independents) and
objective functions (dependents).
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAccuracy()
Returns the accuracy achieved in the last solver run.
|
AnalyticModel |
getCalibratedModel(Set<ParameterObject> objectsToCalibrate)
Find the model such that the equation
objectiveFunctions.getValue(model) = 0
holds. |
int |
getIterations()
Returns the number of iterations required in the last solver step.
|
public Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, ParameterTransformation parameterTransformation, double evaluationTime, StochasticOptimizerFactory optimizerFactory)
model - The model from which a calibrated clone should be created.calibrationProducts - The objective functions.calibrationTargetValues - Array of target values for the objective functions.parameterTransformation - A parameter transformation, if any, otherwise null.evaluationTime - Evaluation time applied to the calibration products.optimizerFactory - A factory providing the optimizer (for the given objective function)public Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, ParameterTransformation parameterTransformation, double evaluationTime, double calibrationAccuracy)
model - The model from which a calibrated clone should be created.calibrationProducts - The objective functions.calibrationTargetValues - Array of target values for the objective functions.parameterTransformation - A parameter transformation, if any, otherwise null.evaluationTime - Evaluation time applied to the calibration products.calibrationAccuracy - The error tolerance of the solver.public Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, List<Double> calibrationTargetValues, double evaluationTime, double calibrationAccuracy)
model - The model from which a calibrated clone should be created.calibrationProducts - The objective functions.calibrationTargetValues - Array of target values for the objective functions.evaluationTime - Evaluation time applied to the calibration products.calibrationAccuracy - The error tolerance of the solver.public Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts, double evaluationTime, double calibrationAccuracy)
model - The model from which a calibrated clone should be created.calibrationProducts - The objective functions.evaluationTime - Evaluation time applied to the calibration products.calibrationAccuracy - The error tolerance of the solver.public Solver(AnalyticModel model, Vector<AnalyticProduct> calibrationProducts)
model - The model from which a calibrated clone should be created.calibrationProducts - The objective functions.public AnalyticModel getCalibratedModel(Set<ParameterObject> objectsToCalibrate) throws SolverException
objectiveFunctions.getValue(model) = 0
objectsToCalibrate - The set of parameterized objects to calibrate.SolverException - Thrown if the underlying optimizer does not find a solution.public int getIterations()
public double getAccuracy()
Copyright © 2019. All rights reserved.