RowVariableModel.GetBounds Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the bounds for a variable.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Sub GetBounds ( _
vid As Integer, _
<OutAttribute> ByRef lower As Rational, _
<OutAttribute> ByRef upper As Rational _
)
public virtual void GetBounds(
int vid,
out Rational lower,
out Rational upper
)
public:
virtual void GetBounds(
int vid,
[OutAttribute] Rational% lower,
[OutAttribute] Rational% upper
)
abstract GetBounds :
vid:int *
lower:Rational byref *
upper:Rational byref -> unit
override GetBounds :
vid:int *
lower:Rational byref *
upper:Rational byref -> unit
public function GetBounds(
vid : int,
lower : Rational,
upper : Rational
)
Parameters
- vid
Type: System.Int32
The variable index.
- lower
Type: Microsoft.SolverFoundation.Common.Rational%
The lower bound.
- upper
Type: Microsoft.SolverFoundation.Common.Rational%
The upper bound.
Implements
IRowVariableModel.GetBounds(Int32, Rational%, Rational%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.