RowVariableModel Class
[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.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Services.RowVariableModel
Microsoft.SolverFoundation.Services.LinearModel
Microsoft.SolverFoundation.Services.RowVariableGoalModel
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public MustInherit Class RowVariableModel _
Implements IRowVariableModel
public abstract class RowVariableModel : IRowVariableModel
public ref class RowVariableModel abstract : IRowVariableModel
[<AbstractClass>]
type RowVariableModel =
class
interface IRowVariableModel
end
public abstract class RowVariableModel implements IRowVariableModel
The RowVariableModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RowVariableModel | Initializes a new instance of the RowVariableModel class. |
Top
Properties
Name | Description | |
---|---|---|
Indices | Gets the collection of row and variable indexes for a model. | |
IntegerIndexCount | Gets the number of integer variables in a model. | |
IsMipModel | Gets a value that indicates whether a model is a mixed integer programming (MIP) model. | |
KeyComparer | Gets the object that is used to compare keys for rows or variables. | |
KeyCount | Gets the number of keys that are in a model. | |
Keys | Gets the variable key and row key collection. | |
RowCount | Gets the number of rows in a model. | |
RowIndices | Gets the collection of row indexes in a model. | |
RowKeys | Gets the collection of row keys. | |
VariableCount | Gets the number of variables in a model. | |
VariableIndices | Gets the collection of variable indexes. | |
VariableKeys | Gets the collection of variable keys. |
Top
Methods
Name | Description | |
---|---|---|
AddRow | Adds a row to a model. | |
AddVariable | Adds a user variable to a model. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBounds | Returns the bounds for a variable. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIgnoreBounds | Returns a value that indicates whether the bounds of a variable are ignored. | |
GetIndexFromKey | Returns the index that is associated with a specified key. | |
GetIntegrality | Returns a value that indicates whether a variable is an integer variable. | |
GetKeyFromIndex | Returns the key that is associated with the specified variable index. | |
GetProperty | Returns the value of a property that is at the specified index. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the value that is associated with the specified variable index. | |
IsRow | Returns a value that indicates whether a variable index corresponds to a row. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetBounds | Sets the bounds for a row. | |
SetIgnoreBounds | Specifies whether the bounds of a variable should be respected or ignored during a solve attempt. | |
SetIntegrality | Specifies whether a variable is an integer variable. | |
SetLowerBound | Sets the lower bound of a variable. | |
SetProperty | Sets a property that is at the specified variable index. | |
SetUpperBound | Sets the upper bound of a variable. | |
SetValue | Sets the value for the specified variable index. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetIndexFromKey | Attempts to return the variable index that is associated with the specified key. |
Top
Fields
Name | Description | |
---|---|---|
m_cvidInt | Represents the number of integer variables. | |
m_mpkeyvid | Represents the mapping from key to variable index. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.