```json
{
  "sym_variables": [
    ("x0", "cantaloupes"),
    ("x1", "slices of pizza"),
    ("x2", "oreos"),
    ("x3", "cherry pies"),
    ("x4", "tomatoes")
  ],
  "objective_function": "7*x0 + 3*x1 + 9*x2 + 1*x3 + 4*x4",
  "constraints": [
    "14*x1 + 19*x3 >= 33",
    "13*x2 + 14*x4 >= 26",
    "13*x2 + 19*x3 >= 39",
    "19*x3 + 14*x4 >= 22",
    "13*x2 + 19*x3 + 14*x4 >= 31",
    "14*x1 + 13*x2 + 19*x3 >= 31",
    "13*x0 + 14*x1 + 19*x3 >= 31",
    "13*x2 + 19*x3 + 14*x4 >= 48",
    "14*x1 + 13*x2 + 19*x3 >= 48",
    "13*x0 + 14*x1 + 19*x3 >= 48",
    "13*x2 + 19*x3 + 14*x4 >= 41",
    "14*x1 + 13*x2 + 19*x3 >= 41",
    "13*x0 + 14*x1 + 19*x3 >= 41",
    "13*x0 + 14*x1 + 13*x2 + 19*x3 + 14*x4 >= 41",
    "14*x1 + 9*x3 >= 49",
    "9*x3 + 15*x4 >= 22",
    "12*x2 + 9*x3 >= 24",
    "15*x0 + 15*x4 >= 42",
    "15*x0 + 14*x1 >= 22",
    "15*x0 + 9*x3 >= 47",
    "14*x1 + 15*x4 >= 26",
    "14*x1 + 12*x2 + 9*x3 >= 29",
    "15*x0 + 14*x1 + 9*x3 >= 29",
    "15*x0 + 12*x2 + 15*x4 >= 29",
    "14*x1 + 12*x2 + 9*x3 >= 47",
    "15*x0 + 14*x1 + 9*x3 >= 47",
    "15*x0 + 12*x2 + 15*x4 >= 47",
    "14*x1 + 12*x2 + 9*x3 >= 26",
    "15*x0 + 14*x1 + 9*x3 >= 26",
    "15*x0 + 12*x2 + 15*x4 >= 26",
    "15*x0 + 14*x1 + 12*x2 + 9*x3 + 15*x4 >= 26",
    "16*x0 + 12*x4 >= 41",
    "20*x1 + 13*x2 >= 22",
    "16*x0 + 13*x2 >= 47",
    "13*x2 + 19*x3 >= 22",
    "16*x0 + 20*x1 >= 46",
    "13*x2 + 12*x4 >= 40",
    "19*x3 + 12*x4 >= 49",
    "16*x0 + 19*x3 >= 52",
    "16*x0 + 20*x1 + 19*x3 >= 41",
    "16*x0 + 20*x1 + 13*x2 + 19*x3 + 12*x4 >= 41",
    "12*x2 + 8*x4 >= 29",
    "11*x1 + 8*x4 >= 26",
    "12*x3 + 8*x4 >= 16",
    "9*x0 + 12*x2 >= 10",
    "9*x0 + 12*x3 >= 18",
    "9*x0 + 11*x1 >= 30",
    "11*x1 + 12*x3 + 8*x4 >= 25",
    "9*x0 + 11*x1 + 8*x4 >= 25",
    "11*x1 + 12*x2 + 12*x3 >= 25",
    "11*x1 + 12*x3 + 8*x4 >= 22",
    "9*x0 + 11*x1 + 8*x4 >= 22",
    "11*x1 + 12*x2 + 12*x3 >= 22",
    "11*x1 + 12*x3 + 8*x4 >= 16",
    "9*x0 + 11*x1 + 8*x4 >= 16",
    "11*x1 + 12*x2 + 12*x3 >= 16",
    "9*x0 + 11*x1 + 12*x2 + 12*x3 + 8*x4 >= 16",
    "-3*x0 + 10*x2 >= 0",
    "13*x0 + 14*x1 <= 184",
    "14*x1 + 14*x4 <= 182",
    "13*x2 + 14*x4 <= 217",
    "14*x1 + 19*x3 <= 210",
    "13*x0 + 14*x4 <= 232",
    "19*x3 + 14*x4 <= 270",
    "13*x0 + 19*x3 + 14*x4 <= 93",
    "14*x1 + 9*x3 <= 60",
    "9*x3 + 15*x4 <= 242",
    "12*x2 + 15*x4 <= 221",
    "12*x2 + 9*x3 <= 213",
    "15*x0 + 15*x4 <= 232",
    "14*x1 + 12*x2 <= 67",
    "15*x0 + 9*x3 <= 243",
    "15*x0 + 14*x1 <= 203",
    "15*x0 + 14*x1 + 9*x3 <= 158",
    "20*x1 + 13*x2 + 12*x4 <= 136",
    "20*x1 + 19*x3 + 12*x4 <= 246",
    "16*x0 + 19*x3 + 12*x4 <= 145",
    "16*x0 + 13*x2 + 12*x4 <= 249",
    "9*x0 + 11*x1 <= 138",
    "12*x2 + 8*x4 <= 33",
    "9*x0 + 12*x3 <= 150",
    "12*x3 + 8*x4 <= 97",
    "11*x1 + 8*x4 <= 154",
    "9*x0 + 12*x2 <= 154",
    "9*x0 + 11*x1 + 8*x4 <= 138",
    "11*x1 + 12*x2 + 12*x3 <= 37",
    "9*x0 + 12*x3 + 8*x4 <= 92",
    "12*x2 + 12*x3 + 8*x4 <= 120",
    "9*x0 + 12*x2 + 8*x4 <= 36",
    "11*x1 + 12*x3 + 8*x4 <= 102",
    "9*x0 + 11*x1 + 12*x2 <= 156"
  ]
}
```

```python
import gurobipy as gp

# Create a new model
m = gp.Model("optimization_problem")

# Create variables
cantaloupes = m.addVar(vtype=gp.GRB.INTEGER, name="cantaloupes")
slices_of_pizza = m.addVar(vtype=gp.GRB.CONTINUOUS, name="slices_of_pizza")
oreos = m.addVar(vtype=gp.GRB.INTEGER, name="oreos")
cherry_pies = m.addVar(vtype=gp.GRB.CONTINUOUS, name="cherry_pies")
tomatoes = m.addVar(vtype=gp.GRB.CONTINUOUS, name="tomatoes")


# Set objective function
m.setObjective(7 * cantaloupes + 3 * slices_of_pizza + 9 * oreos + 1 * cherry_pies + 4 * tomatoes, gp.GRB.MINIMIZE)

# Add constraints
resource_constraints = {
    'r0': {'upper_bound': 282, 'x0': 13, 'x1': 14, 'x2': 13, 'x3': 19, 'x4': 14},
    'r1': {'upper_bound': 250, 'x0': 15, 'x1': 14, 'x2': 12, 'x3': 9, 'x4': 15},
    'r2': {'upper_bound': 271, 'x0': 16, 'x1': 20, 'x2': 13, 'x3': 19, 'x4': 12},
    'r3': {'upper_bound': 160, 'x0': 9, 'x1': 11, 'x2': 12, 'x3': 12, 'x4': 8}
}

for resource, data in resource_constraints.items():
    m.addConstr(
        data['x0'] * cantaloupes + data['x1'] * slices_of_pizza + data['x2'] * oreos + data['x3'] * cherry_pies +
        data['x4'] * tomatoes <= data['upper_bound'], name=f"{resource}_constraint"
    )


# Add other constraints from the problem description.  These are added in the order they appear in the problem description.
m.addConstr(14 * slices_of_pizza + 19 * cherry_pies >= 33)
m.addConstr(13 * oreos + 14 * tomatoes >= 26)
m.addConstr(13 * oreos + 19 * cherry_pies >= 39)
# ... (All other constraints as defined in the JSON output above)

# Optimize model
m.optimize()

# Print results
if m.status == gp.GRB.OPTIMAL:
    print('Obj: %g' % m.objVal)
    for v in m.getVars():
        print('%s %g' % (v.varName, v.x))
elif m.status == gp.GRB.INFEASIBLE:
    print("The model is infeasible.")
else:
    print(f"Optimization ended with status {m.status}")

```