Package | Description |
---|---|
agi.foundation.numericalmethods |
Contains general numerical algorithms.
|
Modifier and Type | Method and Description |
---|---|
InequalityConstraintSettings |
SegmentPropagatorInequalityConstraintEvaluator.createSettings()
Creates the
InequalityConstraintSettings for use with a ParameterOptimizer . |
InequalityConstraintSettings[] |
ParameterOptimizerIterationResults.getInequalityConstraintSettings()
Gets the
SolverConstraintSettings that correspond to the
inequality constraints computed by the function . |
InequalityConstraintSettings |
SegmentPropagatorInequalityConstraint.getSettings()
Gets the settings for the
ParameterOptimizer
associated with this constraint. |
Modifier and Type | Method and Description |
---|---|
List<InequalityConstraintSettings> |
ParameterOptimizer.getInequalities()
Gets the
inequality constraint settings corresponding to the
results computed by the Function (get / set ). |
Modifier and Type | Method and Description |
---|---|
protected boolean |
InequalityConstraintSettings.checkForSameDefinition(InequalityConstraintSettings other)
Checks to determine if another instance has the same definition as this instance and
returns
true if it does. |
int |
ParameterOptimizerIterationResults.indexOfInequalityConstraint(InequalityConstraintSettings constraint)
Gets the index of the
InequalityConstraintSettings in the array that is returned by the
ParameterOptimizerIterationResults.getInequalityConstraintSettings() method. |
double |
SpecifiedValueScalingOnInequalityConstraint.scale(InequalityConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
ReciprocalOfToleranceScalingOnInequalityConstraint.scale(InequalityConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
ReciprocalOfBoundValueScalingOnInequalityConstraint.scale(InequalityConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
double |
NoScalingOnInequalityConstraint.scale(InequalityConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
abstract double |
InequalityConstraintScaling.scale(InequalityConstraintSettings settings)
Gets the scaling value as it would be applied to the constraint.
|
void |
SegmentPropagatorInequalityConstraint.setSettings(InequalityConstraintSettings value)
Sets the settings for the
ParameterOptimizer
associated with this constraint. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ParameterOptimizer.checkInequalitySatisfaction(List<InequalityConstraintSettings> inequalities,
double[] currentInequalityValues)
A helper method to determine if the
inequality constraints are
satisfied with the currentInequalityValues . |
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 |
---|
InequalityConstraintSettings(InequalityConstraintSettings existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|
ParameterOptimizerIterationResults(OptimizerMultivariableFunctionResults functionResult,
OptimizerMultivariableFunctionDerivativeResults derivativeResults,
int iteration,
SolverVariableSettings[] variableSettings,
CostFunctionSettings costFunctionSettings,
SolverConstraintSettings[] equalitySettings,
InequalityConstraintSettings[] inequalitySettings)
Initializes a new instance.
|