Export (0) Print
Expand All

IRowVariableModel Interface

Solver Foundation 3.0

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

Defines a basic optimization model that consists of decision variables and rows.

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

public interface IRowVariableModel

The IRowVariableModel type exposes the following members.

  NameDescription
Public propertyIndicesGets the collection of variable indexes, inclusive of rows.
Public propertyIntegerIndexCountGets the number of integer variables in a model.
Public propertyKeyComparerGets an object that is used to compare rows or variables.
Public propertyKeyCountGets the number of keys in a model, inclusive of rows and variables.
Public propertyKeysGets the variable and row key collection.
Public propertyRowCountGets the number of rows in a model.
Public propertyRowIndicesGets the collection of row indexes in a model.
Public propertyRowKeysGets the collection of row keys.
Public propertyVariableCountGets the number of variables in a model.
Public propertyVariableIndicesGets the collection of variable indexes.
Public propertyVariableKeysGets the collection of variable keys.
Top

  NameDescription
Public methodAddRowAdds a row to a model.
Public methodAddVariableAdds a user variable to a model.
Public methodGetBoundsReturns the bounds for a variable.
Public methodGetIgnoreBoundsReturns a value that indicates whether the bounds of a variable are ignored.
Public methodGetIndexFromKeyReturns the index that is associated with a key.
Public methodGetIntegralityReturns a value that indicates whether a variable is an integer variable.
Public methodGetKeyFromIndexReturns the key that is associated with a variable index.
Public methodGetValueReturns the value that is associated with a variable index.
Public methodIsRowReturns a value that indicates whether a variable index is a row.
Public methodSetBoundsSets the bounds for a variable.
Public methodSetIgnoreBoundsSpecifies whether the bounds of a variable index should be respected or ignored during a solve process.
Public methodSetIntegralitySpecifies that a variable is an integer variable.
Public methodSetLowerBoundSets the lower bound of a variable.
Public methodSetUpperBoundSets the upper bound of a variable
Public methodSetValueSets the value for the specified variable index.
Public methodTryGetIndexFromKeyAttempts to return the variable index associated with a key.
Top
Show:
© 2014 Microsoft