LinearReport.OriginalVariableCount 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.]

Variable count before presolve, as represented by the solver.

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

public virtual int OriginalVariableCount { get; }

Property Value

Type: System.Int32

OriginalRowCountmay not match the decision count of the Model. This is because solvers often convert models into an internal representation by introducing or removing variables.

Show: