  The complete group classification of a generalization of the Heath model is
carried out by connecting it to the heat equation with nonlinear source.
Examples of invariant solutions are given under the terminal and the barrier
option condition.
