RowVariableReport.OriginalVariableCount Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the number of variables that are in a model before presolve.

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


Public Overridable ReadOnly Property OriginalVariableCount As Integer
public virtual int OriginalVariableCount { get; }
virtual property int OriginalVariableCount {
    int get ();
abstract OriginalVariableCount : int
override OriginalVariableCount : int
function get OriginalVariableCount () : int

Property Value

Type: System.Int32
The variable count.


Exception Condition

The solution is out-of-date.


The count returned by OriginalVariableCount might not match the decision count of the model. This is because solvers often convert models into an internal representation by introducing or removing variables.

.NET Framework Security

See Also


RowVariableReport Class

Microsoft.SolverFoundation.Services Namespace