Click or drag to resize

MultivariableFunctionSolverFindSolution Method (Int32, Boolean, ITrackCalculationProgress)

Solves the function. This method must increment CurrentIteration as well as set LastRunsResults before this method returns.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public abstract bool FindSolution(
	int numberOfIterations,
	bool justFinalResult,
	ITrackCalculationProgress progressTracker
)

Parameters

numberOfIterations
Type: SystemInt32
The number of iterations that may be performed while attempting to find a solution.
justFinalResult
Type: SystemBoolean
Tells this method to only include the final results, or the results of each iteration.
progressTracker
Type: AGI.FoundationITrackCalculationProgress
An optional progress tracker.

Return Value

Type: Boolean
If the solver converged on a solution. See the LastRunsResults for the results.
See Also