NelderMeadSolver.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 Overrides Sub SetUpperBound ( _
    vid As Integer, _
    numHi As Rational _
)
public override void SetUpperBound(
    int vid,
    Rational numHi
)
public:
virtual void SetUpperBound(
    int vid, 
    Rational numHi
) override
abstract SetUpperBound : 
        vid:int * 
        numHi:Rational -> unit 
override SetUpperBound : 
        vid:int * 
        numHi:Rational -> unit 
public override function SetUpperBound(
    vid : int, 
    numHi : Rational
)

Parameters

Implements

IRowVariableModel.SetUpperBound(Int32, Rational)
IRowVariableModel.SetUpperBound(Int32, Rational)

Exceptions

Exception Condition
NotSupportedException

Not supported for goal rows.

ArgumentException

Thrown if upper and lower bounds are incompatible.

Remarks

Not supported by unconstrained solvers.

.NET Framework Security

See Also

Reference

NelderMeadSolver Class

Microsoft.SolverFoundation.Solvers Namespace