I have a model where I define three variables as follows :
alpha[a] = model.addVar(lb=-GRB.INFINITY, name="alpha%d" % a)
beta[i, j] = model.addVar(lb=-GRB.INFINITY, ub=0, name="beta%d,%d," % (i, j))
lamda = model.addVar(lb=0, ub=GRB.INFINITY, name="lamda")
after creating the model in the model.lp file, the variables define as follows:
-infinity <= beta <= 0
but I can't find lamda which is supposed to be ???
lamda >= 0
where the objective function is to maximize the sum of these three variables ??
Please sign in to leave a comment.