|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A category that defines several operators for the convenient construction of LP models
Constructor Summary | |
GModelArithmeticCategory()
|
Method Summary | |
---|---|
static GRow |
leftShift(GExpression self, Number rhs)
Operator '<<' for defining an LP row from an expression and a value for the rhs of the row. |
static GSet |
multiply(Map self, def other)
Operator '*' for multiplying sets. |
static GSet |
multiply(List self, def other)
|
static GExpression |
multiply(Number factor, GSimpleExpression expr)
Operator '*' for scaling terms in expressions |
static GRow |
or(GExpression self, Number rhs)
Operator '|' for defining an LP row from an expression and a value for the rhs of the row. |
static GRow |
or(String self, Number rhs)
|
static GExpression |
plus(GExpression self, def other)
Operator '+' for adding expressions |
static GExpression |
plus(String self, GExpression other)
|
static GExpression |
plus(GString self, GExpression other)
|
static GRow |
rightShift(GExpression self, Number rhs)
Operator '>>' for defining an LP row from an expression and a value for the rhs of the row. |
Constructor Detail |
---|
GModelArithmeticCategory()
Method Detail |
---|
public static GRow leftShift(GExpression self, Number rhs)
public static GSet multiply(Map self, def other)
public static GSet multiply(List self, def other)
public static GExpression multiply(Number factor, GSimpleExpression expr)
public static GRow or(GExpression self, Number rhs)
public static GRow or(String self, Number rhs)
public static GExpression plus(GExpression self, def other)
public static GExpression plus(String self, GExpression other)
public static GExpression plus(GString self, GExpression other)
public static GRow rightShift(GExpression self, Number rhs)