Create (equality or inequality) constraint object

newConstraint(
name,
...,
eq = "==",
rhs = data.frame(),
for.each = NULL,
defVal = 0,
arg = NULL
)

## Arguments

name Name of the constrain object (will be used in GAMS or GLPK as an element in sets) Left-hand side (LHS) terms of the statement - list objects with Type of the relation ('==' default, '<=', '>=') list or data frame with named sets () list with sets for which constraint will be created. the default value for the rhs. tbc

## Value

Object of class constraint.