PURPOSE: This randomized phase III trial is studying ketamine hydrochloride given together with the best pain management to see how well it works compared with giving a placebo together with the best pain management in treating cancer patients with neuropathic pain.