3 ms·
I love JuMP too. I am very amateur when it comes to optimization, but I found it to be a very efficient way to describe a matching algorithm for a post card exc
by paulgb 5y ago
I love JuMP too. I am very amateur when it comes to optimization, but I found it to be a very efficient way to describe a matching algorithm for a post card exchange I ran (think of it as a Secret Santa, but generalized to each person sending multiple gifts, and discouraging mutual exchanges.) Here's the code: https://twitter.com/paulgb/status/1462483698427781120 https://twitter.com/paulgb/status/1462483698427781120
To OP's question, besides JuMP, the other use case I've had for optimization is for optimizing the drawing order of pen plots, for which I used or-tools. A write-up on it is here: https://nb.paulbutler.org/optimizing-plots-with-tsp-solver/ https://nb.paulbutler.org/optimizing-plots-with-tsp-solver/
- isatty 5y ago> here’s the code > link to twitter visible_confusion.png.jpg.exe
- kqr 5y agoI hadn't before realised that you can circumvent the Twitter character limit by turning your message into an image and attaching it. Clever!
- paulgb 5y agoIt’s funny, despite the code being on GitHub, Twitter search is the fastest way for me to find it. Searching my own tweets as a bookmarking tool is its hidden killer feature. Images aren’t ideal for sharing code, of course, but it’s not like this example works as a standalone program.