Share via


CompactQuasiNewtonSolver.ToleranceDifference Property

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

Gets the difference between the solution tolerance and the requested tolerance.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ToleranceDifference As Double
public virtual double ToleranceDifference { get; }
public:
virtual property double ToleranceDifference {
    double get ();
}
abstract ToleranceDifference : float
override ToleranceDifference : float
function get ToleranceDifference () : double

Property Value

Type: System.Double
The difference in tolerance.

Remarks

To set the solver tolerance, use CompactQuasiNewtonSolverParams.

If a call to Solve(ISolverParameters) returns LocalOptima, the tolerance difference is zero or less. If a local optimum is found even though the stopping criterion is not met, the final tolerance is considered to be zero and the tolerance difference is the negated version of the requested tolerance.

.NET Framework Security

See Also

Reference

CompactQuasiNewtonSolver Class

Microsoft.SolverFoundation.Solvers Namespace