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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.