IRowVariableModel.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, _
upper As Rational _
)
void SetUpperBound(
int vid,
Rational upper
)
void SetUpperBound(
int vid,
Rational upper
)
abstract SetUpperBound :
vid:int *
upper:Rational -> unit
function SetUpperBound(
vid : int,
upper : Rational
)
Parameters
- vid
Type: System.Int32
The variable index.
- upper
Type: Microsoft.SolverFoundation.Common.Rational
The upper bound of the variable.
.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.