Share via


CompactQuasiNewtonSolverParams.IterationLimit Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the maximum number of solver iterations.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Overridable Property IterationLimit As Integer
public virtual int IterationLimit { get; set; }
public:
virtual property int IterationLimit {
    int get ();
    void set (int value);
}
abstract IterationLimit : int with get, set
override IterationLimit : int with get, set
function get IterationLimit () : int
function set IterationLimit (value : int)

Property Value

Type: System.Int32
The maximum number of iterations. The default value is MaxValue.

Remarks

If the iteration limit is exceeded, the solver returns CompactQuasiNewtonSolutionQuality.Error.

.NET Framework Security

See Also

Reference

CompactQuasiNewtonSolverParams Class

Microsoft.SolverFoundation.Solvers Namespace