Share via


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

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

Syntax

'Declaration
Public Overridable ReadOnly Property Gap As Rational
public virtual Rational Gap { get; }
public:
virtual property Rational Gap {
    Rational get ();
}
abstract Gap : Rational
override Gap : Rational
function get Gap () : Rational

Property Value

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

Implements

ILinearSimplexStatistics.Gap

.NET Framework Security

See Also

Reference

SimplexSolver Class

Microsoft.SolverFoundation.Solvers Namespace