Package | Description |
---|---|
agi.foundation.numericalmethods |
Contains general numerical algorithms.
|
Modifier and Type | Method and Description |
---|---|
SolverConstraintSettings |
SegmentPropagatorConstraintEvaluator.createSettings()
Creates the
SolverConstraintSettings for use with a MultivariableFunctionSolver
or ParameterOptimizer . |
SolverConstraintSettings[] |
MultivariableFunctionSolverIterationResults.getConstraintSettings()
Gets the
SolverConstraintSettings that correspond to the
constraints computed by the function . |
SolverConstraintSettings[] |
ParameterOptimizerIterationResults.getEqualityConstraintSettings()
Gets the
SolverConstraintSettings that correspond to the
equality constraints computed by the function . |
SolverConstraintSettings |
SegmentPropagatorConstraint.getSettings()
Gets the settings for the
MultivariableFunctionSolver or ParameterOptimizer
associated with this constraint. |
Modifier and Type | Method and Description |
---|---|
List<SolverConstraintSettings> |
MultivariableFunctionSolver.getConstraints()
|
List<SolverConstraintSettings> |
ParameterOptimizer.getEqualities()
Gets the
equality constraint settings corresponding to the
results computed by the Function (get / set ). |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SolverConstraintSettings.checkForSameDefinition(SolverConstraintSettings other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
int |
MultivariableFunctionSolverIterationResults.indexOfConstraint(SolverConstraintSettings constraint)
Gets the index of the
SolverConstraintSettings in the array that is returned by the
MultivariableFunctionSolverIterationResults.getConstraintSettings() method. |
int |
ParameterOptimizerIterationResults.indexOfEqualityConstraint(SolverConstraintSettings constraint)
Gets the index of the
SolverConstraintSettings in the array that is returned by the
ParameterOptimizerIterationResults.getEqualityConstraintSettings() method. |
double |
SpecifiedValueScalingOnConstraint.scale(SolverConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
abstract double |
SolverConstraintScaling.scale(SolverConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
ReciprocalOfToleranceScalingOnConstraint.scale(SolverConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
ReciprocalOfDesiredValueScalingOnConstraint.scale(SolverConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
NoScalingOnConstraint.scale(SolverConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
void |
SegmentPropagatorConstraint.setSettings(SolverConstraintSettings value)
Sets the settings for the
MultivariableFunctionSolver or ParameterOptimizer
associated with this constraint. |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
MultivariableFunctionSolver.checkConstraints(List<SolverConstraintSettings> constraints,
double[] currentConstraintValues)
A helper method to determine if the
constraints are
satisfied with the currentConstraintValues |
static boolean |
ParameterOptimizer.checkEqualitySatisfaction(List<SolverConstraintSettings> equalities,
double[] currentEqualityValues)
A helper method to determine if the
equality constraints are
satisfied with the currentEqualityValues . |
static void |
ActiveSetSequentialQuadraticProgrammingOptimizer.solveLagrangianDerivativeEquation(OptimizerMultivariableFunctionResults unperturbedAnswer,
OptimizerMultivariableFunctionDerivativeResults derivativeResults,
ArrayList<InequalityConstraintSettings> activeInequalitySet,
ArrayList<Double> activeInequalityErrors,
ArrayList<double[]> activeInequalityGradients,
List<SolverConstraintSettings> equalitySet,
double[] equalityErrors,
ArrayList<Double>[] lagrangeMultipliers,
double[][] lagrangianDerivatives)
Solves for the Lagrange multipliers and derivatives of the Lagrangian
using the cost function, equality errors, active inequality errors,
and the gradients of each with respect to the variables.
|
Constructor and Description |
---|
MultivariableFunctionSolverIterationResults(SolvableMultivariableFunctionResults functionResult,
SolvableMultivariableFunctionDerivativeResults derivativeResults,
int iteration,
SolverVariableSettings[] variableSettings,
SolverConstraintSettings[] constraintSettings)
Initializes a new instance.
|
ParameterOptimizerIterationResults(OptimizerMultivariableFunctionResults functionResult,
OptimizerMultivariableFunctionDerivativeResults derivativeResults,
int iteration,
SolverVariableSettings[] variableSettings,
CostFunctionSettings costFunctionSettings,
SolverConstraintSettings[] equalitySettings,
InequalityConstraintSettings[] inequalitySettings)
Initializes a new instance.
|
SolverConstraintSettings(SolverConstraintSettings existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|