Click or drag to resize

ParameterOptimizer Properties

The ParameterOptimizer type exposes the following members.

Properties
  NameDescription
Public propertyCostFunction
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.
Public propertyCurrentIteration
Gets or sets the number of the current iteration. This should be incremented in the FindSolution(Int32, Boolean, ITrackCalculationProgress) method.
Public propertyEqualities
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.
Public propertyFunction
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 .
Public propertyInequalities
Gets the inequality constraint settings corresponding to the results computed by the Function.
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
Public propertyLastRunsResults
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.
Public propertyMultithreaded
Gets or sets a value indicating whether this optimizer should evaluate with as many threads as the current threading policy facet and optimizer algorithm will allow. Note that derived types should copy this in their copy constructor.
Public propertyVariables
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.
Top
See Also