Accelerated generalized SOR method for a class of complex systems of linear equations