ILinearModel.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)

Syntax

'Declaration
Sub SetBounds ( _
    vid As Integer, _
    numLo As Rational, _
    numHi As Rational _
)
void SetBounds(
    int vid,
    Rational numLo,
    Rational numHi
)
void SetBounds(
    int vid, 
    Rational numLo, 
    Rational numHi
)
abstract SetBounds : 
        vid:int * 
        numLo:Rational * 
        numHi:Rational -> unit 
function SetBounds(
    vid : int, 
    numLo : Rational, 
    numHi : Rational
)

Parameters

Exceptions

Exception Condition
ArgumentException

The lower bound is greater than the upper bound.

.NET Framework Security

See Also

Reference

ILinearModel Interface

Microsoft.SolverFoundation.Services Namespace