Tune solver tolerances and barrier ordering#273
Tune solver tolerances and barrier ordering#273SutubraResearch wants to merge 2 commits intoTemoaProject:unstablefrom
Conversation
Relax barrier convergence tolerance from 1e-5 to 1e-3 and feasibility tolerance from 1e-6 to 1e-4 for both Gurobi and CPLEX. These values align with mip-dev defaults and are standard for large-scale energy system models where tighter tolerances cause unnecessary barrier iterations without meaningful solution improvement.
Change BarOrder from 0 (AMD) to -1 (automatic) for barrier solves. Automatic ordering selects the best fill-reducing strategy per problem structure, yielding 2-4x speedup on national-scale energy system models (268s vs 1029s on a 26-region test case). AMD ordering is suboptimal for the sparse constraint structure typical of Temoa models.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Two solver configuration changes that improve performance on large-scale models:
Files changed
temoa/_internal/run_actions.pyTest plan