ILNumerics Ultimate VS

OptimizationFminIterationCallbackT Delegate

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Function prototype for a callback on each iteration of fmin(OptimizationObjectiveFunctionDouble, InArrayDouble, InArrayDouble, InArrayDouble, OptimizationObjectiveFunctionDouble, OptimizationObjectiveFunctionDouble, HessianUpdateMethod, Int32, NullableDouble, NullableDouble, OutArrayDouble, OutArrayDouble, OptimizationFminIterationCallbackDouble)

[ILNumerics Optimization Toolbox]

Namespace:  ILNumerics.Toolboxes
Assembly:  ILNumerics.Toolboxes.Optimization (in ILNumerics.Toolboxes.Optimization.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public delegate void FminIterationCallback<T>(
	FminCallbackInfo<T> info
)

Parameters

info
Type: ILNumerics.ToolboxesFminCallbackInfoT
Instance of the FminCallbackInfoT class.

Type Parameters

T
element type, currently always: System.double
Remarks

If user provides a function as the callback parameter of fmin(OptimizationObjectiveFunctionDouble, InArrayDouble, InArrayDouble, InArrayDouble, OptimizationObjectiveFunctionDouble, OptimizationObjectiveFunctionDouble, HessianUpdateMethod, Int32, NullableDouble, NullableDouble, OutArrayDouble, OutArrayDouble, OptimizationFminIterationCallbackDouble), the function gets called at each major iteration. The info parameter provides extensive information about the state of the optimization process, including details of the subproblem solved in that iteration.

Callback is a user defined function which gets called by fmin(OptimizationObjectiveFunctionDouble, InArrayDouble, InArrayDouble, InArrayDouble, OptimizationObjectiveFunctionDouble, OptimizationObjectiveFunctionDouble, HessianUpdateMethod, Int32, NullableDouble, NullableDouble, OutArrayDouble, OutArrayDouble, OptimizationFminIterationCallbackDouble) and allows access to the information by means of properties of info.

[ILNumerics Optimization Toolbox]

See Also

Reference

Optimizationfmin(OptimizationObjectiveFunctionDouble, InArrayDouble, InArrayDouble, InArrayDouble, OptimizationObjectiveFunctionDouble, OptimizationObjectiveFunctionDouble, HessianUpdateMethod, Int32, NullableDouble, NullableDouble, OutArrayDouble, OutArrayDouble, OptimizationFminIterationCallbackDouble)