🔥 SLS Pro Tip: Powder Bin Packing! Stack 100s of parts like Tetris in powder—no wasted space!

1️⃣ Nest designs tight in software.
2️⃣ Laser zaps ALL at once.
3️⃣ Dig out a full BATCH.

Batch print gears for class? Done! 🚀 #SLS3DPrinting #BinPacking #3DPrintingBatch #WOW3DLearning #3dprinting #additivemanufacturing

Already the last day, that went by quickly. Usually the last day of AoC is easy so people can spend Christmas with their close ones. But there are still 13 days before Christmas, so maybe it's supposed to be a longer solve?

Anyway, the problem seems to have a non-trivial parsing (but not too hard either). I do it, then start thinking about a solution. I need to rotate the pieces, and that's easy, I can just use my grid code for that; then I remove the duplicates from rotations. Problem looks complex, so I integrate the example as tests immediately (as opposed to later if I'm blocked).

So this looks like it's a 2D bin-packing problem (Tetris-style). I do some research and find an excellent thesis in french on the subject: https://theses.hal.science/tel-00158728v1/document

As I read through, it reminds me that this is an unsolved NP-hard problem. So surely there must be a trick?

I decide on hunch to try the minimum test that could work. It fails on the example. Nevertheless, I have nothing to lose, so I submit my solution… and it works!

Turns out the last day *was* that easy, and a funny joke with the example as a trap. Luckily I hadn't written too much code before realizing that.

And that concludes this edition of AoC!

#AdventOfCode #BinPacking

Going to #KubeCon? Then you should check out #HannahTaub's talk "The Node Tetris Rabbit Hole: Why Your #Binpacking Might Be Underperforming". You'll learn #Kubernetes cluster #utilization tips & tricks as well as some great #costefficiency techniques. Since I'm lucky enough to work with her I've gotten to see the work she'll be talking about first hand and it's impressive.

https://kccncna2024.sched.com/event/1i7rY

KubeCon + CloudNativeCon North America 2024: The Node Tetris Rabbit Hole: Why Your Bi...

View more about this event at KubeCon + CloudNativeCon North America 2024

Dive into the world of #BinPacking in #Kubernetes!

Learn about the challenges & trade-offs associated with this approach in this #InfoQ article by Omer Hamerman: https://bit.ly/47t5iKz

Discover practical examples & best practices for implementing bin packing in your organization.

#DevOps

Optimizing Resource Utilization: the Benefits and Challenges of Bin Packing in Kubernetes

Optimizing Kubernetes usage is an important part of a responsible cloud strategy. Bin packing is an effective strategy for maximizing the usage of each node.

InfoQ

Thanks for coming along with me! This was me liveblogging "Solving the Batch Stochastic Bin Packing Problem in Cloud: A Chance-constrained Optimization Approach", by Jie Yan, et al. It's from a bunch of folks at Microsoft and Peking University.

Follow along for more of this in the future! Or, if you're interested in more long-form writing about these topics, you can subscribe to my blog! It's right here:

https://blog.appliedcomputing.io

#liveblogging #distributedsystems #optimization #binpacking

Applied Computing Research Labs | drmorr | Substack

Open-source research and development in distributed systems. Click to read Applied Computing Research Labs, by drmorr, a Substack publication.

Ok, it's been a little while. It's time for me to liveblog another distributed systems paper!

Today's paper is "Solving the Batch Stochastic Bin Packing Problem in Cloud: A Chance-constrained Optimization Approach", by Jie Yan, et al. It's from a bunch of folks at Microsoft and Peking University. Let's take a look!

https://dl.acm.org/doi/10.1145/3534678.3539334

#liveblogging #distributedsystems #binpacking #optimization #research

1/

#7AYW #Day1 #CombinatorialOptimization #MachineLearning
Francesco Paolo Saccomanno proposes a reinforcement learning strategy to address #BinPacking, where the agent is trained to imitate a classic heuristic, the “best fit” strategy. https://t.co/9SnLnX4CW8
AIROyoung on Twitter

“#7AYW #Day1 #CombinatorialOptimization + #MachineLearning Francesco Paolo Saccomanno proposes a reinforcement learning strategy to address #BinPacking, where the agent is trained to imitate a classic heuristic, the “best fit” strategy.”

Twitter
#7AYW #Day1 #BinPacking
Chiara Turbian presents exact and heuristic approaches to determine efficient sequences of cutting layouts for Salvagnini Italia, in order to minimize waste material and address technological constraints, such as hard/soft precedence relations among items. https://t.co/KVQpBnP3Vu
AIROyoung on Twitter

“#7AYW #Day1 #BinPacking Chiara Turbian presents exact and heuristic approaches to determine efficient sequences of cutting layouts for Salvagnini Italia, in order to minimize waste material and address technological constraints, such as hard/soft precedence relations among items.”

Twitter
#7AYW #Day1 #BinPacking
Riccardo Giusti talks about a new tactical-planning problem of a shipper who needs to contract carriers to secure transport capacity for the next operation season, and proposes a two-stage stochastic model. https://t.co/M0IHDkZpdX
AIROyoung on Twitter

“#7AYW #Day1 #BinPacking Riccardo Giusti talks about a new tactical-planning problem of a shipper who needs to contract carriers to secure transport capacity for the next operation season, and proposes a two-stage stochastic model.”

Twitter
#7AYW #Day1 #BinPacking
The first speaker is Davide Croci, who presents a new heuristic for the Pallet Loading Problem (PLP), a variant of the three-dimensional bin packing problem which includes practical constraints related to the loading of boxes on pallets. https://t.co/YgAXDD445U
AIROyoung on Twitter

“#7AYW #Day1 #BinPacking The first speaker is Davide Croci, who presents a new heuristic for the Pallet Loading Problem (PLP), a variant of the three-dimensional bin packing problem which includes practical constraints related to the loading of boxes on pallets.”

Twitter