Optimal system and approximate solutions of nonlinear dissipative media