DME Component Libraries for .NET 2024 r1

## ActiveSetSequentialQuadraticProgrammingOptimizer Properties |

The ActiveSetSequentialQuadraticProgrammingOptimizer type exposes the following members.

Properties

Name | Description | |
---|---|---|

ConvergenceFunction | Gets or sets a customizable convergence function that is used to determine if the optimizer converges on a given iteration. By default, the cost function change from the previous to the current iteration must be within the Tolerance of the CostFunction, all of the variable changes from the previous to the current iteration must be within the VariableTolerance of the Variables, all of the equality constraints in Equalities must match their desired values within tolerance, and all of the inequality constraints in Inequalities must be satisfied. | |

CostFunction |
Gets or sets the cost function settings corresponding to the
results computed by the Function. If there are no
equality constraints set, then this property must
not be for this optimizer to work.
(Inherited from ParameterOptimizer.) | |

CurrentIteration |
Gets or sets the number of the current iteration. This should be incremented in
the FindSolution(Int32, Boolean, ITrackCalculationProgress) method.
(Inherited from ParameterOptimizer.) | |

Equalities |
Gets the equality constraint settings corresponding to the
results computed by the Function. If the CostFunction is ,
there must be at least one constraint set for this optimizer to work.
(Inherited from ParameterOptimizer.) | |

Function |
Gets or sets the function to solve. When
the solver converges, this function must
have been run with the variable values that converged. This behavior must be obeyed when
Multithreaded is either or .
(Inherited from ParameterOptimizer.) | |

Inequalities |
Gets the inequality constraint settings corresponding to the
results computed by the Function.
(Inherited from ParameterOptimizer.) | |

IsThreadSafe |
Gets a value indicating whether the methods on this instance are safe to call from
multiple threads simultaneously.
(Overrides ParameterOptimizerIsThreadSafe.) | |

LastRunsResults |
Gets or sets the results
of the solver run. This includes such information as if the solver converged,
all the iteration results (if configured to save them), if the run was aborted, etc.
(Inherited from ParameterOptimizer.) | |

LineSearchSettings |
Gets or sets an optional property that can be used to specify tolerances, convergence criteria, and maximum iterations
for a line search that uses GoldenSectionFindExtremum to find the optimal feasible step in the same
direction as the computed step.
| |

Multithreaded |
Gets or sets a value indicating whether this optimizer should evaluate an iteration with as many threads as the current threading
policy facet will allow, or with as many Variables
as there are in the function plus 1; whichever is less. By default this is .
(Overrides ParameterOptimizerMultithreaded.) | |

Variables |
Gets the SolverVariableSettings that will be used when computing this function.
The variables passed to the function will be in the same order as this list of settings. There
must be at least one variable set for this solver to work.
(Inherited from ParameterOptimizer.) |

See Also