HybridLocalSearchReport.Violation 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 constraints violation.

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

public double Violation { get; }

Property Value

Type: System.Double
The constraints violation. Zero equals a feasible solution (no violation). As the value of the Violation property decreases, the solution gets closer to feasibility.