CompactQuasiNewtonSolverParams.MaxIterations Property

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 MaxIterations As Integer
    Get
    Set
public virtual int MaxIterations { get; set; }
public:
virtual property int MaxIterations {
    int get ();
    void set (int value);
}
abstract MaxIterations : int with get, set
override MaxIterations : int with get, set
function get MaxIterations () : int
function set MaxIterations (value : int)

Property Value

Type: System.Int32
The maximum number of solver iterations.

Exceptions

Exception Condition
MsfException

If the iteration limit is exceeded, the solver returns the MaxIterationExceeded error.

Remarks

The default value of the MaxIterations property is MaxValue.

.NET Framework Security

See Also

Reference

CompactQuasiNewtonSolverParams Class

CompactQuasiNewtonSolverParams Members

Microsoft.SolverFoundation.Solvers Namespace