This is the code where equations are added:
self.grb_model.addGenConstrIndicator(c_var, True, min_gt_term + dly_i - dly_j, GRB.LESS_EQUAL, dj - ai)
the min_gt_term, which is the troublesome part, might look like:
<gurobi.LinExpr: 0.0 CON_ASS-e4_eBB_acDAC9A>
the method where the 0 comes from looks like:
if ei.event_type == 'GE' or ej.event_type == 'GE':
return 0
So it is definetly a 0.
In the original formulation
m = ai-dj+ei.max_dly
restr = (ai+min_gt_term+dly_i) - (dj+dly_j)
c = self.model.grb_model.addConstr(restr, GRB.LESS_EQUAL, m*(1-c_var), name='timing_of_c'+str(ei_id)+','+str(ej_id))
there is also the min_gt_term used in the same sense with 0 values, which causes no warning.