This randomized phase I trial is studying the side effects of celecoxib in treating postmenopausal women with invasive breast cancer who are scheduled to undergo surgery at Memorial Sloan-Kettering Cancer Center. Celecoxib may stop the growth of tumor cells by blocking the enzymes necessary for tumor cell growth.