UnconstrainedNonlinearModel.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 for a vid.

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

Syntax

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

Parameters

Implements

IRowVariableModel.SetUpperBound(Int32, Rational)

Exceptions

Exception Condition
NotSupportedException

Not supported by unconstrained solvers.

ArgumentException

Thrown if upper and lower bounds are incompatible.

Remarks

Not supported by unconstrained solvers.

.NET Framework Security

See Also

Reference

UnconstrainedNonlinearModel Class

Microsoft.SolverFoundation.Solvers Namespace