[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the bounds for the specified row.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
'Declaration Public Overrides Sub SetBounds ( _ vid As Integer, _ lower As Rational, _ upper As Rational _ )
public override void SetBounds( int vid, Rational lower, Rational upper )
public: virtual void SetBounds( int vid, Rational lower, Rational upper ) override
abstract SetBounds : vid:int * lower:Rational * upper:Rational -> unit override SetBounds : vid:int * lower:Rational * upper:Rational -> unit
public override function SetBounds( vid : int, lower : Rational, upper : Rational )
The row index.
The lower bound of the row.
The upper bound of the row.
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.
If a row index has a lower bound that is greater than its upper bound, the model is automatically infeasible, and an ArgumentException is thrown.
.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.