MPIntVar

object MPIntVar
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(domain: Range)(implicit model: MPModel): MPIntVar
Value parameters:
domain

the variable domain defined as a range of integers. If the range is 0 to 1 then the variable is binary.

Returns:

an anonymous integer variable

See also:
def apply(symbol: String, domain: Range)(implicit model: MPModel): MPIntVar
Value parameters:
domain

the variable domain defined as a range of integers. If the range is 0 to 1 then the variable is binary.

symbol

the symbol of the variable

Returns:

an integer variable

See also: