Export (0) Print
Expand All

ILinearModel.SetBounds 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 bounds for a variable.

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

void SetBounds(
	int vid,
	Rational numLo,
	Rational numHi
)

Parameters

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

ExceptionCondition
ArgumentException

The lower bound is greater than the upper bound.

Show:
© 2014 Microsoft