Export (0) Print
Expand All

RowVariableModel Class

Solver Foundation 3.0

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

Represents 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 ref class RowVariableModel abstract : IRowVariableModel

The RowVariableModel type exposes the following members.

  NameDescription
Protected methodRowVariableModelInitializes a new instance of the RowVariableModel class.
Top

  NameDescription
Public propertyIndicesGets the collection of row and variable indexes for a model.
Public propertyIntegerIndexCountGets the number of integer variables in a model.
Public propertyIsMipModelGets a value that indicates whether a model is a mixed integer programming (MIP) model.
Public propertyKeyComparerGets the object that is used to compare keys for rows or variables.
Public propertyKeyCountGets the number of keys that are in a model.
Public propertyKeysGets the variable key 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 methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBoundsReturns the bounds for a variable.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIgnoreBoundsReturns a value that indicates whether the bounds of a variable are ignored.
Public methodGetIndexFromKeyReturns the index that is associated with a specified key.
Public methodGetIntegralityReturns a value that indicates whether a variable is an integer variable.
Public methodGetKeyFromIndexReturns the key that is associated with the specified variable index.
Public methodGetPropertyReturns the value of a property that is at the specified index.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueReturns the value that is associated with the specified variable index.
Public methodIsRowReturns a value that indicates whether a variable index corresponds to a row.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBoundsSets the bounds for a row.
Public methodSetIgnoreBoundsSpecifies whether the bounds of a variable should be respected or ignored during a solve attempt.
Public methodSetIntegralitySpecifies whether a variable is an integer variable.
Public methodSetLowerBoundSets the lower bound of a variable.
Public methodSetPropertySets a property that is at the specified variable index.
Public methodSetUpperBoundSets the upper bound of a variable.
Public methodSetValueSets the value for the specified variable index.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetIndexFromKeyAttempts to return the variable index that is associated with the specified key.
Top

  NameDescription
Protected fieldm_cvidIntRepresents the number of integer variables.
Protected fieldm_mpkeyvidRepresents the mapping from key to variable index.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft