```json
{
  "sym_variables": [
    ("x0", "cookies"),
    ("x1", "packs of napkins"),
    ("x2", "lightbulbs"),
    ("x3", "cartons of milk"),
    ("x4", "candles")
  ],
  "objective_function": "6.01*x0 + 8.91*x1 + 6.18*x2 + 3.04*x3 + 4.34*x4",
  "constraints": [
    "8*x0 + 1*x1 + 5*x2 + 4*x3 + 8*x4 <= 164",
    "5*x0 + 2*x1 + 8*x2 + 4*x3 + 1*x4 <= 99",
    "1*x1 + 5*x2 >= 24",
    "5*x2 + 8*x4 >= 10",
    "5*x2 + 4*x3 >= 10",
    "8*x0 + 4*x3 >= 16",
    "8*x0 + 1*x1 >= 24",
    "1*x1 + 5*x2 + 4*x3 >= 23",
    "5*x2 + 4*x3 + 8*x4 >= 23",
    "8*x0 + 1*x1 + 5*x2 >= 23",
    "1*x1 + 5*x2 + 8*x4 >= 23",
    "1*x1 + 4*x3 + 8*x4 >= 23",
    "8*x0 + 1*x1 + 4*x3 >= 23",
    "1*x1 + 5*x2 + 4*x3 >= 27",
    "5*x2 + 4*x3 + 8*x4 >= 27",
    "8*x0 + 1*x1 + 5*x2 >= 27",
    "1*x1 + 5*x2 + 8*x4 >= 27",
    "1*x1 + 4*x3 + 8*x4 >= 27",
    "8*x0 + 1*x1 + 4*x3 >= 27",    
    "1*x1 + 5*x2 + 4*x3 >= 29",
    "5*x2 + 4*x3 + 8*x4 >= 29",
    "8*x0 + 1*x1 + 5*x2 >= 29",
    "1*x1 + 5*x2 + 8*x4 >= 29",
    "1*x1 + 4*x3 + 8*x4 >= 29",
    "8*x0 + 1*x1 + 4*x3 >= 29",
    "5*x0 + 1*x4 >= 9",
    "8*x2 + 4*x3 >= 18",
    "2*x1 + 4*x3 >= 15",
    "8*x2 + 1*x4 >= 17",
    "5*x0 + 4*x3 + 1*x4 >= 16",
    "5*x0 + 8*x2 + 4*x3 >= 16",
    "2*x1 + 4*x3 + 1*x4 >= 16",
    "5*x0 + 4*x3 + 1*x4 >= 9",
    "5*x0 + 8*x2 + 4*x3 >= 9",
    "2*x1 + 4*x3 + 1*x4 >= 9",
    "5*x0 + 4*x3 + 1*x4 >= 18",
    "5*x0 + 8*x2 + 4*x3 >= 18",
    "2*x1 + 4*x3 + 1*x4 >= 18",
    "5*x0 + 2*x1 + 8*x2 + 4*x3 + 1*x4 >= 18",
    "2*x2 - x4 >= 0",
    "5*x2 + 4*x3 <= 130",
    "5*x2 + 8*x4 <= 152",
    "8*x0 + 8*x4 <= 48",
    "2*x1 + 8*x2 + 1*x4 <= 59",
    "5*x0 + 8*x2 + 4*x3 <= 43",
    "5*x0 + 2*x1 + 8*x2 <= 77",
    "5*x0 + 2*x1 + 1*x4 <= 42",
    "x0, x1, x2, x3, x4 are integers"

  ]
}
```

```python
import gurobipy as gp

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

# Create variables
cookies = m.addVar(vtype=gp.GRB.INTEGER, name="cookies")
napkins = m.addVar(vtype=gp.GRB.INTEGER, name="packs_of_napkins")
lightbulbs = m.addVar(vtype=gp.GRB.INTEGER, name="lightbulbs")
milk = m.addVar(vtype=gp.GRB.INTEGER, name="cartons_of_milk")
candles = m.addVar(vtype=gp.GRB.INTEGER, name="candles")


# Set objective function
m.setObjective(6.01 * cookies + 8.91 * napkins + 6.18 * lightbulbs + 3.04 * milk + 4.34 * candles, gp.GRB.MINIMIZE)

# Add constraints
m.addConstr(8 * cookies + 1 * napkins + 5 * lightbulbs + 4 * milk + 8 * candles <= 164, "storage_space")
m.addConstr(5 * cookies + 2 * napkins + 8 * lightbulbs + 4 * milk + 1 * candles <= 99, "dollar_value")
m.addConstr(napkins + 5*lightbulbs >= 24)
m.addConstr(5*lightbulbs + 8*candles >= 10)
m.addConstr(5 * lightbulbs + 4 * milk >= 10)
m.addConstr(8 * cookies + 4 * milk >= 16)
m.addConstr(8 * cookies + napkins >= 24)

m.addConstr(napkins + 5 * lightbulbs + 4 * milk >= 23)
m.addConstr(5 * lightbulbs + 4 * milk + 8 * candles >= 23)
m.addConstr(8 * cookies + napkins + 5 * lightbulbs >= 23)
m.addConstr(napkins + 5 * lightbulbs + 8 * candles >= 23)
m.addConstr(napkins + 4 * milk + 8 * candles >= 23)
m.addConstr(8 * cookies + napkins + 4 * milk >= 23)

m.addConstr(napkins + 5 * lightbulbs + 4 * milk >= 27)
m.addConstr(5 * lightbulbs + 4 * milk + 8 * candles >= 27)
m.addConstr(8 * cookies + napkins + 5 * lightbulbs >= 27)
m.addConstr(napkins + 5 * lightbulbs + 8 * candles >= 27)
m.addConstr(napkins + 4 * milk + 8 * candles >= 27)
m.addConstr(8 * cookies + napkins + 4 * milk >= 27)

m.addConstr(napkins + 5 * lightbulbs + 4 * milk >= 29)
m.addConstr(5 * lightbulbs + 4 * milk + 8 * candles >= 29)
m.addConstr(8 * cookies + napkins + 5 * lightbulbs >= 29)
m.addConstr(napkins + 5 * lightbulbs + 8 * candles >= 29)
m.addConstr(napkins + 4 * milk + 8 * candles >= 29)
m.addConstr(8 * cookies + napkins + 4 * milk >= 29)


m.addConstr(5 * cookies + candles >= 9)
m.addConstr(8 * lightbulbs + 4 * milk >= 18)
m.addConstr(2 * napkins + 4 * milk >= 15)
m.addConstr(8 * lightbulbs + candles >= 17)
m.addConstr(5 * cookies + 4 * milk + candles >= 16)
m.addConstr(5 * cookies + 8 * lightbulbs + 4 * milk >= 16)
m.addConstr(2 * napkins + 4 * milk + candles >= 16)
m.addConstr(5 * cookies + 4 * milk + candles >= 9)
m.addConstr(5 * cookies + 8 * lightbulbs + 4 * milk >= 9)
m.addConstr(2 * napkins + 4 * milk + candles >= 9)
m.addConstr(5 * cookies + 4 * milk + candles >= 18)
m.addConstr(5 * cookies + 8 * lightbulbs + 4 * milk >= 18)
m.addConstr(2 * napkins + 4 * milk + candles >= 18)
m.addConstr(5 * cookies + 2 * napkins + 8 * lightbulbs + 4 * milk + candles >= 18)
m.addConstr(2 * lightbulbs - candles >= 0)
m.addConstr(5 * lightbulbs + 4 * milk <= 130)
m.addConstr(5 * lightbulbs + 8 * candles <= 152)
m.addConstr(8 * cookies + 8 * candles <= 48)
m.addConstr(2 * napkins + 8 * lightbulbs + candles <= 59)
m.addConstr(5 * cookies + 8 * lightbulbs + 4 * milk <= 43)
m.addConstr(5 * cookies + 2 * napkins + 8 * lightbulbs <= 77)
m.addConstr(5 * cookies + 2 * napkins + candles <= 42)



# 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)

```