Export (0) Print
Expand All

HybridLocalSearchModel.AddVariable Method (Int32%, Rational, Rational, Boolean)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a variable to the model, with bounds and integrality given at creation time.

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

public bool AddVariable(
	out int vid,
	Rational lower,
	Rational upper,
	bool isInteger
)

Return Value

Type: System.Boolean

Show:
© 2014 Microsoft