code: private int loadSlack(int dim, int bin) {
          return p.loads[dim][bin].getUB() - p.loads[dim][bin].getLB();
      }
docs: compute the load slack of a bin
  
  @param dim the dimension
  @param bin the bin
  @return the load slack of bin on dimension bin