Arithmetic of affection Optimizing a Eating-Room-Seating Association for Weddings with Python | by Luis Fernando PÉREZ ARMAS, Ph.D. | Sep, 2024

Fixing the Restricted Quadratic Multi-Knapsack Drawback (RQMKP) with mathematical programming and Python

Please observe me to The woof-top reception… (Picture generated by DALLE-3)

Dr. Hannah Fry’s ebook, The Arithmetic of Love [1], is a type of uncommon finds, good, humorous, and extremely straightforward to learn. I loved it a lot that I ended up giving copies to a few of my closest associates. They beloved it too, however a couple of of them hit a snag with Chapter 8, which, sarcastically, was the chapter they had been most enthusiastic about.

This chapter goes into the difficult enterprise of organizing marriage ceremony seating preparations, utilizing mathematical programming and optimization to determine find out how to seat company so everybody has the most effective time doable. Sounds cool, proper? However right here’s the catch, the ebook doesn’t truly stroll you thru find out how to arrange or resolve the issue, which left my associates feeling a bit misplaced.

Now, I do know what you’re pondering: marriage ceremony seating? Actually? However don’t be fooled , it’s a extremely tough downside to resolve, and the answer has far more purposes than simply weddings (though this one is already essential). Suppose organizing tables on cruise ships [3], forming sports activities groups or workgroups, optimizing portfolios, and in my world as a enterprise faculty professor…