WebCab Optimization for COM v2.6

EasySolver.SetMaxIterations Method 

The maximum number of iterations with which Solve, can use of the underlying algorithm in order to find the solution of the optimization problem to the given level of tolerance specified by SetTolerance.

public void SetMaxIterations(
   int maxIterations
);

Parameters

maxIterations
The maximum number of iterative steps taken before the algorithm exits and a TooManyMultiDimensionalIterationsException is thrown. A reasonable number to use for this parameter is 300.

Remarks

Note: The tolerance acts as an exiting condition and whenever a solution is sought by Solve, then either a solution to a given level of tolerance will be found and the algorithm will exit or the maximum number of iterations given by SetMaxIterations, will be reached.

See Also

EasySolver Class | WebCab.COM.Math.Optimization Namespace | GetMaxIterations