IRowVariableSolver Interface

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

Represents a solver for optimization models that have goals.

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

Syntax

'Declaration
Public Interface IRowVariableSolver _
    Inherits ISolver, IRowVariableModel
public interface IRowVariableSolver : ISolver, 
    IRowVariableModel
public interface class IRowVariableSolver : ISolver, 
    IRowVariableModel
type IRowVariableSolver =  
    interface
        interface ISolver
        interface IRowVariableModel
    end
public interface IRowVariableSolver extends ISolver, IRowVariableModel

The IRowVariableSolver type exposes the following members.

Properties

  Name Description
Public property Indices Gets the collection of variable indexes, inclusive of rows. (Inherited from IRowVariableModel.)
Public property IntegerIndexCount Gets the number of integer variables in a model. (Inherited from IRowVariableModel.)
Public property KeyComparer Gets an object that is used to compare rows or variables. (Inherited from IRowVariableModel.)
Public property KeyCount Gets the number of keys in a model, inclusive of rows and variables. (Inherited from IRowVariableModel.)
Public property Keys Gets the variable and row key collection. (Inherited from IRowVariableModel.)
Public property RowCount Gets the number of rows in a model. (Inherited from IRowVariableModel.)
Public property RowIndices Gets the collection of row indexes in a model. (Inherited from IRowVariableModel.)
Public property RowKeys Gets the collection of row keys. (Inherited from IRowVariableModel.)
Public property VariableCount Gets the number of variables in a model. (Inherited from IRowVariableModel.)
Public property VariableIndices Gets the collection of variable indexes. (Inherited from IRowVariableModel.)
Public property VariableKeys Gets the collection of variable keys. (Inherited from IRowVariableModel.)

Top

Methods

  Name Description
Public method AddRow Adds a row to a model. (Inherited from IRowVariableModel.)
Public method AddVariable Adds a user variable to a model. (Inherited from IRowVariableModel.)
Public method GetBounds Returns the bounds for a variable. (Inherited from IRowVariableModel.)
Public method GetIgnoreBounds Returns a value that indicates whether the bounds of a variable are ignored. (Inherited from IRowVariableModel.)
Public method GetIndexFromKey Returns the index that is associated with a key. (Inherited from IRowVariableModel.)
Public method GetIntegrality Returns a value that indicates whether a variable is an integer variable. (Inherited from IRowVariableModel.)
Public method GetKeyFromIndex Returns the key that is associated with a variable index. (Inherited from IRowVariableModel.)
Public method GetValue Returns the value that is associated with a variable index. (Inherited from IRowVariableModel.)
Public method IsRow Returns a value that indicates whether a variable index is a row. (Inherited from IRowVariableModel.)
Public method SetBounds Sets the bounds for a variable. (Inherited from IRowVariableModel.)
Public method SetIgnoreBounds Specifies whether the bounds of a variable index should be respected or ignored during a solve process. (Inherited from IRowVariableModel.)
Public method SetIntegrality Specifies that a variable is an integer variable. (Inherited from IRowVariableModel.)
Public method SetLowerBound Sets the lower bound of a variable. (Inherited from IRowVariableModel.)
Public method SetUpperBound Sets the upper bound of a variable (Inherited from IRowVariableModel.)
Public method SetValue Sets the value for the specified variable index. (Inherited from IRowVariableModel.)
Public method Shutdown Shuts down a solver instance. (Inherited from ISolver.)
Public method Solve Solves a model, using the specified parameters.
Public method TryGetIndexFromKey Attempts to return the variable index associated with a key. (Inherited from IRowVariableModel.)

Top

See Also

Reference

Microsoft.SolverFoundation.Services Namespace