Regeneration of a solid waste from an edible oil refinery