HybridLocalSearchModel.AddConstant Method

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

Adds a constant to the model. Constants are considered rows.

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


Public Function AddConstant ( _
    value As Rational, _
    <OutAttribute> ByRef vid As Integer _
) As Boolean
public bool AddConstant(
    Rational value,
    out int vid
virtual bool AddConstant(
    Rational value, 
    [OutAttribute] int% vid
) sealed
abstract AddConstant : 
        value:Rational * 
        vid:int byref -> bool 
override AddConstant : 
        value:Rational * 
        vid:int byref -> bool 
public final function AddConstant(
    value : Rational, 
    vid : int
) : boolean


Return Value

Type: System.Boolean


ITermModel.AddConstant(Rational, Int32%)

.NET Framework Security

See Also


HybridLocalSearchModel Class

Microsoft.SolverFoundation.Solvers Namespace