CompactQuasiNewtonSolver.ToleranceDifference Property

Solver Foundation 3.0

[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)

public virtual double ToleranceDifference { get; }

Property Value

Type: System.Double
The difference in tolerance.

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.