Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RowVariableReport.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.]

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 virtual int OriginalVariableCount { get; }

Property Value

Type: System.Int32
The variable count.


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.

© 2015 Microsoft