Model.Abs Method

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

Computes the absolute value of a decision, formula, goal, or constraint.

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

Syntax

'Declaration
Public Shared Function Abs ( _
    term As Term _
) As Term
public static Term Abs(
    Term term
)
public:
static Term^ Abs(
    Term^ term
)
static member Abs : 
        term:Term -> Term 
public static function Abs(
    term : Term
) : Term

Parameters

Return Value

Type: Microsoft.SolverFoundation.Services.Term
The absolute value of a decision, formula, goal, or constraint.

Exceptions

Exception Condition
ArgumentException

The operation is not valid for the given inputs.

.NET Framework Security

See Also

Reference

Model Class

Microsoft.SolverFoundation.Services Namespace