It appears there are two different engines and trim levels on your Optima; for a precise answer we'd need to know if you have the 2.4L or 2.7L engine, and the EX or LX trim.
That being said, on at least one model the parts list shows two serpentine belts; one with A/C and one without. I can't tell if you can just buy the shorter belt and install it, or if you would have to pull the compressor and/or install some sort of extra pulley.
@staceycoffey No, I meant there are two different belts for sale for the car; a longer one for cars with A/C and a shorter one for cars without. Obviously you currently have the one with A/C, but you should be able to go to an auto parts store or a dealership and buy the one for cars without A/C. It will be the proper length and would be worth trying to install, but the routing may be different from your current setup and it's possible another idler pulley or some such device could be needed.
Okay, I think I have an answer for you. Some guy on YouTube had exactly the same problem on an 08 Kia Rondo, which appears to use the same engine as your Optima. He measured the required length of the belt and found one from a Mazda that's exactly the right length. As a bonus, he included a diagram showing how the new belt is routed, bypassing the compressor. Here's the video.
2008 KIA Rondo 2.4l bypass A/C compressor - YouTube
I took a screenshot of the belt routing diagram he provided.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
2