Show / Hide Table of Contents

    Class Floor

    Represents the Operator for a floor roundoff

    Inheritance
    System.Object
    Expression
    OperatorExpression
    Floor
    Inherited Members
    OperatorExpression.Expressions
    OperatorExpression.ContainsNoVariables
    OperatorExpression.ContainsAtMostOneVariable
    OperatorExpression.Terms
    OperatorExpression.Variables
    Expression.NonZeroTerms
    Expression.Constant
    Expression.Evaluate(IDictionary<String, Double>)
    Expression._bigMUserValue
    Expression.BigM
    Expression.EmptyExpression
    Expression.Sum(IEnumerable<Expression>)
    Expression.Sum(IEnumerable<Double>)
    Expression.Sum(IEnumerable<Term>)
    Expression.Sum(IEnumerable<Variable>)
    Expression.Sum(Int32, Int32, Func<Int32, Expression>)
    Expression.Sum(Int32, Int32, Func<Int32, Term>)
    Expression.Minimum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Maximum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Absolute(Expression, Nullable<Double>)
    Expression.Floor(Expression, Nullable<Double>)
    Expression.Ceiling(Expression, Nullable<Double>)
    Expression.Normalize()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: OPTANO.Modeling.Optimization.Operators
    Assembly: Optimization.dll
    Syntax
    [DataContract]
    public sealed class Floor : OperatorExpression, IOperator, IFloor, IOperatorExpression

    Constructors

    Floor(Expression, Nullable<Double>)

    Initializes a new instance of the Floor class.

    Declaration
    public Floor(Expression expression, double? bigM = default(double? ))
    Parameters
    Type Name Description
    Expression expression

    An expression of which the 'Floor' should be used.

    System.Nullable<System.Double> bigM

    Large number, only used if the bounds of the variables of the expressions are non-finite. It should be chosen large enough, so that the solution space is not cut. But choosing this value too large, it can cause numerical errors.

    Properties

    IsLinear

    Gets a value indicating whether this operator always preserves linearity when used with linear expressions. Linearity can be re-established when modelling through linear constraints with a new variable.

    Declaration
    public override bool IsLinear { get; }
    Property Value
    Type Description
    System.Boolean

    true if linearity is preserved otherwise, false.

    Overrides
    Expression.IsLinear

    PreservesLinearity

    Gets a value indicating whether this operator always preserves linearity when used with terms. Linearity can be re-established when modelling through constraints with new variables.

    Declaration
    public override bool PreservesLinearity { get; }
    Property Value
    Type Description
    System.Boolean

    true if linearity is preserved otherwise, false.

    Overrides
    OperatorExpression.PreservesLinearity

    RepresentingVariable

    A variable that can later be set to the representing variable when a model transformation for removing Floor- expressions is applied.

    Declaration
    public Variable RepresentingVariable { get; set; }
    Property Value
    Type Description
    Variable
    Implements
    IFloor.RepresentingVariable

    Extension Methods

    ReflectionHelper.GetFieldValue(Object, String)
    ReflectionHelper.SetFieldValue(Object, String, Object)
    ExtensionMethods.Clone<T>(T)
    ExtensionMethods.ThrowIfArgumentIsNull<T>(T, String)
    Back to top Copyright © OPTANO GmbH generated with DocFX
    Privacy Policy | Impressum – Legal Notice