I suppose an air purifier of some sort would be a good solution for getting rid of regular cigar smells in an apt setting.
At the top of the list of air purification devices are Ozone Generators, they are IMO the best at removing odors from the air. Infact, many professional restoration agencies use ozone generators to remove strong odors, such as the smoke from fire damage or musty odors after flood damage. However, they do have a drawback, Ozone Generators can drastically damage your health if you do not follow the directions. Actually, some very high output generators highly recommend that you actually leave the room when it is operating.
HEPA air purifiers are next on the list, I'd have to say they are the second best at removing odors from the air. Their drawback however is that they can get somewhat costly due to regular filter replacements, and also, some find them to be pretty noisy.
Third on the list of commonly available purifiers are Ionic air purifiers. Those require no filters to purchase, and are also dead silent. However, according to Consumer Reports, they do not work nearly as well as traditional HEPA units. In addition, from first-hand experience, I can tell you they
do not make your apartment smell like an fresh April shower, as the many advertisements claim.
If your going to go this route, I'd suggest you get more than one.
If it were upto me, I would go with a variable setting Ozone Generator.
It is probably overkill, but just keep it on a low setting for normal smoking situations, and simply crank it up and shock treat the room if you happen to host a herf, or collect a really heinous odor in the apt.
Thats what I would get, but then again I am obsessive about cleanliness.
If this is just a one time situation, just get a can of Ozium, then leave the windows open for a couple of days.