Packages

class MPVariable extends Variable

Mathematical programming unbounded variable in the problem. The domain is defined (0, +inf) if the variable is unbounded or (-inf, +inf) otherwise.

Linear Supertypes
Variable, Ordered[Variable], Comparable[Variable], Expression, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MPVariable
  2. Variable
  3. Ordered
  4. Comparable
  5. Expression
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MPVariable(problem: AbstractMPProblem, lowerBound: Double, upperBound: Double, doubleUnbounded: Boolean, symbol: String = Variable.ANONYMOUS)

    problem

    the problem in which the variable belongs

    lowerBound

    the lower bound in the domain

    upperBound

    the upper bound in the domain

    doubleUnbounded

    unbounded domain (-inf, +inf)

    symbol

    the symbol of the variable (default is ANONYMOUS)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(other: Expression): Expression
    Definition Classes
    VariableExpression
  4. def +(other: Expression): Expression
    Definition Classes
    Expression
  5. def -(other: Expression): Expression
    Definition Classes
    Expression
  6. def :=(other: Expression): Constraint
    Definition Classes
    Expression
  7. def <(that: Variable): Boolean
    Definition Classes
    Ordered
  8. def <:=(other: Expression): Constraint
    Definition Classes
    Expression
  9. def <=(that: Variable): Boolean
    Definition Classes
    Ordered
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def >(that: Variable): Boolean
    Definition Classes
    Ordered
  12. def >:=(other: Expression): Constraint
    Definition Classes
    Expression
  13. def >=(that: Variable): Boolean
    Definition Classes
    Ordered
  14. def ^(power: Int): Expression
    Definition Classes
    Variable
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. var binary: Boolean
    Attributes
    protected
  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  18. def compare(that: Variable): Int
    Definition Classes
    Variable → Ordered
  19. def compareTo(that: Variable): Int
    Definition Classes
    Ordered → Comparable
  20. val constant: Double
    Definition Classes
    VariableExpression
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(that: Any): Boolean
    Definition Classes
    VariableExpression → AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def getOrder: ExpressionOrder
    Definition Classes
    Expression
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. val index: Int
    Definition Classes
    MPVariableVariable
  28. var integer: Boolean
    Attributes
    protected
  29. def isBinary: Boolean

    returns

    true if the variable is a binary integer variable (e.g. 0-1).

  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isInteger: Boolean

    returns

    true if the variable is integer, false otherwise.

  32. def isUnbounded: Boolean

    returns

    true if the variable is unbounded, false otherwise.

  33. val lowerBound: Double
    Definition Classes
    MPVariableVariable
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val problem: AbstractMPProblem
  38. val symbol: String
    Definition Classes
    MPVariableVariable
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. val terms: TLongDoubleHashMap
    Definition Classes
    MPVariableExpression
  41. def toString(): String
    Definition Classes
    VariableExpression → AnyRef → Any
  42. def unary_-(): Expression
    Definition Classes
    VariableExpression
  43. var unbounded: Boolean
    Attributes
    protected
  44. val upperBound: Double
    Definition Classes
    MPVariableVariable
  45. def value: Option[Double]

    returns

    the value of the variable (integer rounded if the variable is integer).

  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Variable

Inherited from Ordered[Variable]

Inherited from Comparable[Variable]

Inherited from Expression

Inherited from AnyRef

Inherited from Any

Ungrouped