MPBinaryVar

class MPBinaryVar extends MPIntVar
Companion:
object
class MPIntVar
class MPVar
class Var
trait LazyLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

override def isBinary: Boolean
Definition Classes

Inherited methods

override def *(other: Expression): Expression
Definition Classes
Inherited from:
Var
def +(that: Expression): Expression
Inherited from:
Expression
def -(that: Expression): Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
def bounds: (Double, Double)
Returns:

the bounds of the variable (lower, upper)

Inherited from:
MPVar
override def equals(obj: Any): Boolean
Value parameters:
obj

an object to compare

Returns:

true only in case the object is a variable and has identical index

Definition Classes
Var -> Expression -> Any
Inherited from:
Var
override def hashCode: Int
Returns:

the index of the variable

Definition Classes
Var -> Any
Inherited from:
Var
override def isInteger: Boolean
Definition Classes
Inherited from:
MPIntVar
def isUnbounded: Boolean
Returns:

true if the variable is unbounded, false otherwise.

Inherited from:
MPVar
override def toString: String
Returns:

the symbol of the variable

Definition Classes
Var -> Expression -> Any
Inherited from:
Var
def toText: String
Returns:

a textual representation of the variable along its domain

Inherited from:
MPVar
override def unary_-: Expression
Definition Classes
Inherited from:
Var
def value: Option[Double]
Returns:

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

Inherited from:
MPVar

Concrete fields

override val symbol: String

Inherited fields

val constant: Double
Inherited from:
Expression
val index: Int
Inherited from:
MPVar
@transient
lazy protected val logger: Logger
Inherited from:
LazyLogging
val lowerBound: Double
Inherited from:
MPVar
override val terms: LongDoubleMap
Inherited from:
MPVar
val upperBound: Double
Inherited from:
MPVar