code: @Override
      public boolean beforeSolve(ReconfigurationProblem r) {
          super.beforeSolve(r);
          for (int i = 0; i < aliases.size(); i++) {
              int capa = capacities.get(i);
              int[] alias = aliases.get(i);
              int[] cUse = cUsages.get(i);
              int[] dUses = new int[dUsages.get(i).length];
              for (IntVar dUseDim : dUsages.get(i)) {
                  dUses[i++] = dUseDim.getLB();
              }
              r.getModel().post(new AliasedCumulatives(alias,
                      new int[]{capa},
                      cHosts, new int[][]{cUse}, cEnds,
                      dHosts, new int[][]{dUses}, dStarts,
                      associations));
  
          }
          return true;
      }
docs: Get the generated constraints.
  
  @return a list of constraint that may be empty.