CompactQuasiNewtonSolverParams Constructor (Double, Int32, Int32, Func<Boolean>)
Initializes a new instance of the CompactQuasiNewtonSolverParams class.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
tolerance As Double, _
iterationsToRemember As Integer, _
maxIterations As Integer, _
fnQueryAbort As Func(Of Boolean) _
)
public CompactQuasiNewtonSolverParams(
double tolerance,
int iterationsToRemember,
int maxIterations,
Func<bool> fnQueryAbort
)
public:
CompactQuasiNewtonSolverParams(
double tolerance,
int iterationsToRemember,
int maxIterations,
Func<bool>^ fnQueryAbort
)
new :
tolerance:float *
iterationsToRemember:int *
maxIterations:int *
fnQueryAbort:Func<bool> -> CompactQuasiNewtonSolverParams
public function CompactQuasiNewtonSolverParams(
tolerance : double,
iterationsToRemember : int,
maxIterations : int,
fnQueryAbort : Func<boolean>
)
Parameters
- tolerance
Type: System.Double
The solution tolerance.
- iterationsToRemember
Type: System.Int32
The number of previous iterations to remember for the estimate of the Hessian matrix.
- maxIterations
Type: System.Int32
The maximum number of iterations.
- fnQueryAbort
Type: System.Func<Boolean>
A function that is called periodically through the computation to determine if the user has cancelled the operation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CompactQuasiNewtonSolverParams Class
CompactQuasiNewtonSolverParams Members