RowVariableModel.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 row.

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

Syntax

'Declaration
Public Overridable Sub SetBounds ( _
    vid As Integer, _
    lower As Rational, _
    upper As Rational _
)
public virtual void SetBounds(
    int vid,
    Rational lower,
    Rational upper
)
public:
virtual void SetBounds(
    int vid, 
    Rational lower, 
    Rational upper
)
abstract SetBounds : 
        vid:int * 
        lower:Rational * 
        upper:Rational -> unit 
override SetBounds : 
        vid:int * 
        lower:Rational * 
        upper:Rational -> unit 
public function SetBounds(
    vid : int, 
    lower : Rational, 
    upper : Rational
)

Parameters

Implements

IRowVariableModel.SetBounds(Int32, Rational, Rational)

Exceptions

Exception Condition
ArgumentException

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

Remarks

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

.NET Framework Security

See Also

Reference

RowVariableModel Class

Microsoft.SolverFoundation.Services Namespace