Аннотация:
We find an explicit form of solutions to a multi-phase Stefan problem with Riemann initial data. It is demonstrated that the phase transition lines (free boundaries) correspond to the minimum point of some strictly convex function of a finite number of variables. In the limit as number of phases tend to infinity we obtain a variational formulation of self-similar solutions to a nonlinear diffusion equation.