UnconstrainedNonlinearModel.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 vid.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Sub GetBounds ( _
vid As Integer, _
<OutAttribute> ByRef numLo As Rational, _
<OutAttribute> ByRef numHi As Rational _
)
public virtual void GetBounds(
int vid,
out Rational numLo,
out Rational numHi
)
public:
virtual void GetBounds(
int vid,
[OutAttribute] Rational% numLo,
[OutAttribute] Rational% numHi
)
abstract GetBounds :
vid:int *
numLo:Rational byref *
numHi:Rational byref -> unit
override GetBounds :
vid:int *
numLo:Rational byref *
numHi:Rational byref -> unit
public function GetBounds(
vid : int,
numLo : Rational,
numHi : Rational
)
Parameters
- vid
Type: System.Int32
The variable index.
- numLo
Type: Microsoft.SolverFoundation.Common.Rational%
The current lower bound.
- numHi
Type: Microsoft.SolverFoundation.Common.Rational%
The current upper bound.
Implements
IRowVariableModel.GetBounds(Int32, Rational%, Rational%)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Not supported by unconstrained solvers. |
Remarks
Not supported by unconstrained solvers.
.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.