Class

optimus.optimization

MPVariable

Related Doc: package optimization

Permalink

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)

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(other: Expression): Expression

    Permalink
    Definition Classes
    VariableExpression
  4. def +(other: Expression): Expression

    Permalink
    Definition Classes
    Expression
  5. def -(other: Expression): Expression

    Permalink
    Definition Classes
    Expression
  6. def :=(other: Expression): Constraint

    Permalink
    Definition Classes
    Expression
  7. def <(that: Variable): Boolean

    Permalink
    Definition Classes
    Ordered
  8. def <:=(other: Expression): Constraint

    Permalink
    Definition Classes
    Expression
  9. def <=(that: Variable): Boolean

    Permalink
    Definition Classes
    Ordered
  10. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def >(that: Variable): Boolean

    Permalink
    Definition Classes
    Ordered
  12. def >:=(other: Expression): Constraint

    Permalink
    Definition Classes
    Expression
  13. def >=(that: Variable): Boolean

    Permalink
    Definition Classes
    Ordered
  14. def ^(power: Int): Expression

    Permalink
    Definition Classes
    Variable
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. var binary: Boolean

    Permalink
    Attributes
    protected
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def compare(that: Variable): Int

    Permalink
    Definition Classes
    Variable → Ordered
  19. def compareTo(that: Variable): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  20. val constant: Double

    Permalink
    Definition Classes
    VariableExpression
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    VariableExpression → AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getOrder: ExpressionOrder

    Permalink
    Definition Classes
    Expression
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. val index: Int

    Permalink
    Definition Classes
    MPVariableVariable
  28. var integer: Boolean

    Permalink
    Attributes
    protected
  29. def isBinary: Boolean

    Permalink

    returns

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

  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def isInteger: Boolean

    Permalink

    returns

    true if the variable is integer, false otherwise.

  32. def isUnbounded: Boolean

    Permalink

    returns

    true if the variable is unbounded, false otherwise.

  33. val lowerBound: Double

    Permalink

    the lower bound in the domain

    the lower bound in the domain

    Definition Classes
    MPVariableVariable
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. val problem: AbstractMPProblem

    Permalink

    the problem in which the variable belongs

  38. val symbol: String

    Permalink

    the symbol of the variable (default is ANONYMOUS)

    the symbol of the variable (default is ANONYMOUS)

    Definition Classes
    MPVariableVariable
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. val terms: TLongDoubleHashMap

    Permalink
    Definition Classes
    MPVariableExpression
  41. def toString(): String

    Permalink
    Definition Classes
    VariableExpression → AnyRef → Any
  42. def unary_-(): Expression

    Permalink
    Definition Classes
    VariableExpression
  43. var unbounded: Boolean

    Permalink
    Attributes
    protected
  44. val upperBound: Double

    Permalink

    the upper bound in the domain

    the upper bound in the domain

    Definition Classes
    MPVariableVariable
  45. def value: Option[Double]

    Permalink

    returns

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

  46. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Variable

Inherited from Ordered[Variable]

Inherited from Comparable[Variable]

Inherited from Expression

Inherited from AnyRef

Inherited from Any

Ungrouped