```json
{
  "sym_variables": [
    ("x0", "cornichons"),
    ("x1", "peanutbutter sandwiches"),
    ("x2", "slices of pizza"),
    ("x3", "strips of bacon")
  ],
  "objective_function": "4*x0 + 6*x1 + 1*x2 + 9*x3",
  "constraints": [
    "10*x0 + 5*x1 + 13*x2 + 2*x3 <= 298",
    "12*x0 + 5*x1 + 7*x2 + 14*x3 <= 128",
    "12*x0 + 5*x1 + 3*x2 + 14*x3 <= 134",
    "3*x0 + 2*x1 + 8*x2 + 2*x3 <= 70",
    "5*x1 + 13*x2 + 2*x3 >= 39",
    "10*x0 + 5*x1 + 13*x2 >= 39",
    "5*x1 + 13*x2 + 2*x3 >= 74",
    "10*x0 + 5*x1 + 13*x2 >= 74",
    "12*x0 + 7*x2 >= 18",
    "12*x0 + 5*x1 >= 16",
    "12*x0 + 3*x2 + 14*x3 >= 21",
    "3*x0 + 2*x3 >= 12",
    "2*x1 + 8*x2 >= 17",
    "3*x0 + 8*x2 >= 15",
    "2*x1 + 2*x3 >= 17",
    "3*x0 + 8*x2 + 2*x3 >= 8",
    "13*x2 + 2*x3 <= 117",
    "5*x1 + 13*x2 <= 74",
    "10*x0 + 5*x1 + 2*x3 <= 79",
    "10*x0 + 5*x1 + 13*x2 + 2*x3 <= 79",
    "12*x0 + 7*x2 <= 78",
    "7*x2 + 14*x3 <= 39",
    "5*x1 + 14*x3 <= 36",
    "5*x1 + 7*x2 <= 67",
    "12*x0 + 14*x3 <= 81",
    "12*x0 + 5*x1 + 7*x2 + 14*x3 <= 81",
    "5*x1 + 3*x2 <= 48",
    "12*x0 + 14*x3 <= 58",
    "12*x0 + 3*x2 <= 99",
    "12*x0 + 5*x1 + 3*x2 + 14*x3 <= 99",
    "2*x1 + 8*x2 <= 59",
    "3*x0 + 8*x2 <= 58",
    "3*x0 + 2*x1 <= 28",
    "3*x0 + 2*x1 + 2*x3 <= 54",
    "3*x0 + 2*x1 + 8*x2 + 2*x3 <= 54",
    "x0, x1, x2, x3 are integers"
  ]
}
```

```python
import gurobipy as gp

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

# Create variables
cornichons = m.addVar(vtype=gp.GRB.INTEGER, name="cornichons")
peanutbutter_sandwiches = m.addVar(vtype=gp.GRB.INTEGER, name="peanutbutter_sandwiches")
slices_of_pizza = m.addVar(vtype=gp.GRB.INTEGER, name="slices_of_pizza")
strips_of_bacon = m.addVar(vtype=gp.GRB.INTEGER, name="strips_of_bacon")


# Set objective function
m.setObjective(4 * cornichons + 6 * peanutbutter_sandwiches + 1 * slices_of_pizza + 9 * strips_of_bacon, gp.GRB.MAXIMIZE)

# Add constraints
m.addConstr(10 * cornichons + 5 * peanutbutter_sandwiches + 13 * slices_of_pizza + 2 * strips_of_bacon <= 298, "c0")
m.addConstr(12 * cornichons + 5 * peanutbutter_sandwiches + 7 * slices_of_pizza + 14 * strips_of_bacon <= 128, "c1")
m.addConstr(12 * cornichons + 5 * peanutbutter_sandwiches + 3 * slices_of_pizza + 14 * strips_of_bacon <= 134, "c2")
m.addConstr(3 * cornichons + 2 * peanutbutter_sandwiches + 8 * slices_of_pizza + 2 * strips_of_bacon <= 70, "c3")
m.addConstr(5 * peanutbutter_sandwiches + 13 * slices_of_pizza + 2 * strips_of_bacon >= 39, "c4")
m.addConstr(10 * cornichons + 5 * peanutbutter_sandwiches + 13 * slices_of_pizza >= 39, "c5")
m.addConstr(5 * peanutbutter_sandwiches + 13 * slices_of_pizza + 2 * strips_of_bacon >= 74, "c6")
m.addConstr(10 * cornichons + 5 * peanutbutter_sandwiches + 13 * slices_of_pizza >= 74, "c7")
m.addConstr(12 * cornichons + 7 * slices_of_pizza >= 18, "c8")
m.addConstr(12 * cornichons + 5 * peanutbutter_sandwiches >= 16, "c9")
m.addConstr(12 * cornichons + 3 * slices_of_pizza + 14 * strips_of_bacon >= 21, "c10")
m.addConstr(3 * cornichons + 2 * strips_of_bacon >= 12, "c11")
m.addConstr(2 * peanutbutter_sandwiches + 8 * slices_of_pizza >= 17, "c12")
m.addConstr(3 * cornichons + 8 * slices_of_pizza >= 15, "c13")
m.addConstr(2 * peanutbutter_sandwiches + 2 * strips_of_bacon >= 17, "c14")
m.addConstr(3 * cornichons + 8 * slices_of_pizza + 2 * strips_of_bacon >= 8, "c15")
# ... (rest of the constraints)


# 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("Optimization ended with status %d" % m.status)

```