Let’s forget the equation and think about what we want to do here.

Image for post
Image for post

We have boxes that we want to move from one place to another. The other place is bigger and the boss wants to stack it exactly like this.

Image for post
Image for post

If we move one box at a time, we want to know what is the distance of moving the box. Here, we care about the horizontal distance only. There are many ways to move the boxes. So the equation is finding a particular way that the total distance of moving the boxes is the lowest. Technically, it means the greatest lower bound.

Deep Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store