TrainSum.modulo_integer_equation(dims, coeffs, rhs, solver=<pulp.apis.coin_api.COIN_CMD object>)

Modulo integer equation: \(\sum^N_i c_i x_i \mod m = \Delta\). \(c_i\) are integer coefficients, \(x_i\) are the dimensions, \(m\) is the product of the sizes of the dimensions and \(\Delta\) is the right hand side.

Parameters:
  • dims (Sequence[Dimension])

  • coeffs (Sequence[int])

  • rhs (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:

ModuloIntegerEquation