IRowVariableModel.SetBounds Method

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

Sets the bounds for a variable.

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


Sub SetBounds ( _
    vid As Integer, _
    lower As Rational, _
    upper As Rational _
void SetBounds(
    int vid,
    Rational lower,
    Rational upper
void SetBounds(
    int vid, 
    Rational lower, 
    Rational upper
abstract SetBounds : 
        vid:int * 
        lower:Rational * 
        upper:Rational -> unit 
function SetBounds(
    vid : int, 
    lower : Rational, 
    upper : Rational



Exception Condition

The variable index has a lower bound that is greater than its upper bound.


A row index can have an upper bound of infinity and/or a lower bound of negative infinity. You should avoid specifying any other non-finite value for bounds.

.NET Framework Security

See Also


IRowVariableModel Interface

Microsoft.SolverFoundation.Services Namespace