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)

Syntax

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

Property Value

Type: System.Int32
The variable count.

Exceptions

Exception Condition
MsfException

The solution is out-of-date.

Remarks

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

Reference

RowVariableReport Class

Microsoft.SolverFoundation.Services Namespace