def import_bounds(model, r, g, t, tm, s):
   """ Defines import rate constraints for the set of importable resources."""
   if r in model.IMP_R :
      return (0, model.IMPORT_RSRC_MAX[r,g])
   else :
      return (0, 0)