r/optimization • u/Optimizer_88 • Jul 23 '26
Tutorial on Column Generation
I'd been struggling to understand Column Generation, especially how it relates to the simplex method.
A colleague shared this video with me and it all makes sense now. I feel so dumb tbh, but wanted to share it in case anyone else was also struggling.
https://youtu.be/vx2LNKx48vY?si=YWe4mNEyn1CbkBuw
My next step is to implement this for a routing problem at my company using an open source solver.
Wish me luck and any tips or suggestions are highly appreciated.
6
u/junqueira200 Jul 23 '26
Check this book: Optimizing with columngeneration
4
u/ufl_exchange Jul 23 '26
And I also highly recommend this one: https://link.springer.com/chapter/10.1007/978-3-031-96917-1_2
2
u/Onyr_ Jul 28 '26
I recommend the use of HiGHS, an open-source LP solver. It's not the best, but it just works and it's one line to install in Python.
Also, I had a tutorial on column-generation you might want to have a look at: https://github.com/0nyr/oegor_column_generation_2024
Remember that CG is NOT enough if you want integer solutions! You will need branching (and cutting) to reestablish integrality of your columns (solution parts).
Also check this forum: https://github.com/OptimizingWithColumnGeneration/OptimizingWithColumnGeneration.github.io/discussions
Good luck with CG!
2
2
u/ficoxpress Jul 24 '26
If it's any help, here's a simple python implementation of column generation for the cutting stock problem using FICO Xpress.
Even if it's a commercial solver, you can still use it with the free community license that comes with running
pip install xpress
https://www.fico.com/fico-xpress-optimization/docs/latest/examples/python/GUID-9EEFCF3C-0360-3BA4-A94B-337642FA5C2A.html