An efficient method for analyzing conformational properties of a polymer in solvent