## Problem Description and Formulation

The problem is an optimization problem where we need to maximize the objective function: 6 times the total number of corn cobs plus 4 times the total number of apple pies, subject to several constraints related to grams of fiber and milligrams of calcium from these items.

## Resources/Attributes

- **Variables**: 
  - `corn_cobs`
  - `apple_pies`

- **Resources/Attributes**:
  - `r0`: grams of fiber
    - `corn_cobs`: 1 gram
    - `apple_pies`: 13 grams
    - **Upper bound**: 122 grams
  - `r1`: milligrams of calcium
    - `corn_cobs`: 13 milligrams
    - `apple_pies`: 12 milligrams
    - **Upper bound**: 77 milligrams

## Constraints

1. Fiber from corn cobs and apple pies: at least 25 grams.
2. Calcium from corn cobs and apple pies: at least 32 milligrams.
3. Linear constraint: -5 * `corn_cobs` + 4 * `apple_pies` >= 0.
4. Fiber from corn cobs and apple pies: no more than 92 grams.
5. Calcium from corn cobs and apple pies: no more than 41 milligrams.

## Objective Function

Maximize: 6 * `corn_cobs` + 4 * `apple_pies`.

## Gurobi Code

```python
import gurobi

def solve_optimization_problem():
    # Create a new Gurobi model
    model = gurobi.Model()

    # Define variables
    corn_cobs = model.addVar(lb=0, name="corn_cobs", vtype=gurobi.GRB.CONTINUOUS)
    apple_pies = model.addVar(lb=0, name="apple_pies", vtype=gurobi.GRB.CONTINUOUS)

    # Objective function: Maximize 6 * corn_cobs + 4 * apple_pies
    model.setObjective(6 * corn_cobs + 4 * apple_pies, gurobi.GRB.MAXIMIZE)

    # Constraints
    # Fiber constraint: 1 * corn_cobs + 13 * apple_pies >= 25
    model.addConstr(1 * corn_cobs + 13 * apple_pies >= 25, name="fiber_min")
    
    # Calcium constraint: 13 * corn_cobs + 12 * apple_pies >= 32
    model.addConstr(13 * corn_cobs + 12 * apple_pies >= 32, name="calcium_min")
    
    # Linear constraint: -5 * corn_cobs + 4 * apple_pies >= 0
    model.addConstr(-5 * corn_cobs + 4 * apple_pies >= 0, name="linear_constraint")
    
    # Fiber upper bound: 1 * corn_cobs + 13 * apple_pies <= 92
    model.addConstr(1 * corn_cobs + 13 * apple_pies <= 92, name="fiber_max")
    
    # Calcium upper bound: 13 * corn_cobs + 12 * apple_pies <= 41
    model.addConstr(13 * corn_cobs + 12 * apple_pies <= 41, name="calcium_max")

    # Optimize
    model.optimize()

    # Print solution
    if model.status == gurobi.GRB.OPTIMAL:
        print("Optimal solution found.")
        print(f"Corn Cobs: {corn_cobs.varValue}")
        print(f"Apple Pies: {apple_pies.varValue}")
        print(f"Objective: {model.objVal}")
    else:
        print("No optimal solution found.")

solve_optimization_problem()
```