ILinearModel.SetUpperBound Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the upper bound of a variable.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Sub SetUpperBound ( _
vid As Integer, _
numHi As Rational _
)
void SetUpperBound(
int vid,
Rational numHi
)
void SetUpperBound(
int vid,
Rational numHi
)
abstract SetUpperBound :
vid:int *
numHi:Rational -> unit
function SetUpperBound(
vid : int,
numHi : Rational
)
Parameters
- vid
Type: System.Int32
The index of the variable.
- numHi
Type: Microsoft.SolverFoundation.Common.Rational
The upper bound.
.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.