MPFloatVar

object MPFloatVar
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply()(implicit model: MPModel): MPVar
Returns:

an unbounded and anonymous float variable

See also:
def apply(symbol: String)(implicit model: MPModel): MPVar
Value parameters:
symbol

the symbol of the variable

Returns:

an unbounded float variable

See also:
def apply(lowerBound: Double, upperBound: Double)(implicit model: MPModel): MPVar
Value parameters:
lowerBound

the lower bound in the domain

upperBound

the upper bound in the domain

Returns:

a bounded anonymous float variable

See also:
def apply(symbol: String, lowerBound: Double, upperBound: Double)(implicit model: MPModel): MPVar
Value parameters:
lowerBound

the lower bound of variable domain

symbol

the symbol of the variable

upperBound

the upper bound of variable domain

Returns:

a bounded float variable

See also:
def negative()(implicit model: MPModel): MPVar

Creates a negative variable.

Creates a negative variable.

Returns:

a upper unbounded anonymous float variable

See also:
def negative(symbol: String)(implicit model: MPModel): MPVar

Creates a negative variable.

Creates a negative variable.

Value parameters:
symbol

the symbol of the variable

Returns:

a upper unbounded float variable

See also:
def positive()(implicit model: MPModel): MPVar

Creates a positive variable.

Creates a positive variable.

Returns:

a upper unbounded anonymous float variable

See also:
def positive(symbol: String)(implicit model: MPModel): MPVar

Creates a positive variable.

Creates a positive variable.

Value parameters:
symbol

the symbol of the variable

Returns:

a upper unbounded float variable

See also: