NelderMeadSolver.SetUpperBound Method

Solver Foundation 3.0

[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)

public override void SetUpperBound(
	int vid,
	Rational numHi
)

Parameters

vid
Type: System.Int32
The variable index.
numHi
Type: Microsoft.SolverFoundation.Common.Rational
The upper bound.

Implements

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

ExceptionCondition
NotSupportedException

Not supported for goal rows.

ArgumentException

Thrown if upper and lower bounds are incompatible.

Not supported by unconstrained solvers.

Show: