TrainSum.range_integer_equation(dims, lower, upper, solver=<pulp.apis.coin_api.COIN_CMD object>)

Range integer equation: \(l_i \leq x_i \leq u_i\). \(x_i\) are the dimensions, \(l_i\) and \(u_i\) are the lower and upper bounds for the dimensions, respectively.

Parameters:
  • dims (Sequence[Dimension])

  • lower (Sequence[int])

  • upper (Sequence[int])

  • solver (GLPK_CMD | COIN_CMD | COPT_CMD | SCIP_CMD | CHOCO_CMD | CPLEX_CMD | FSCIP_CMD | HiGHS_CMD | MIPCL_CMD | GUROBI_CMD | XPRESS | PULP_CBC_CMD)

Return type:

RangeIntegerEquation