A 28-year-old woman is evaluated for a 6-month history of infertility. In order to predict her fertile period, the patient has been using a home urinary luteinizing hormone (LH) kit. The kit can identify an LH surge and therefore predict ovulation and the optimal time for intercourse. Her urinary LH kit result has been consistently positive but her pregnancy test result consistently negative. She has been exercising recently in an attempt to lose weight. Her medical history is otherwise unremarkable, and she takes no medications.

On physical examination, vital signs are normal. BMI is 38. Coarse terminal hairs are noted on the chin, neck, and anterior chest. Pelvic examination is normal.

Pelvic ultrasound reveals a thickened endometrium and polycystic-appearing ovaries bilaterally.

Which of the following is the most likely diagnosis?