SimplexSolver.Gap 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 an integer solution and a relaxed solution.

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

public virtual Rational Gap { get; }

Property Value

Type: Microsoft.SolverFoundation.Common.Rational
The difference between the integer solution and the relaxed solution.

Implements

ILinearSimplexStatistics.Gap

Show: