CPLEX does not allow bin-packing constraint with variable sizes. However, the current object is allowing them to be variables. The problem of the current approach is that the constraint is said to be supported through the MOI API, but add_constraint in CPLEX throws an assertion.
What would be best: keep it this way (with a nice error message to the user instead of an assertion) or create a new MOI set with fixed bin sizes (which would allow bridges to reformulate the constraint if need be)? I would prefer the second one.