We set up and solve the problem of maximizing the volume of a wine barrel for a fixed cost. This is a geometric optimization problem with a constraint.