AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience Library