Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToleranceDifference Property

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 Overridable ReadOnly Property ToleranceDifference As Double

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.

© 2015 Microsoft