This pilot phase II trial is studying how well RO4929097 works in treating patients with stage III, or stage IV melanoma that can be removed by surgery. RO4929097 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth