I have the following problem which seems to be a mixture of a resource constrained scheduling and packing problem.
There is a set of activities $A_1,\ldots,A_n$ and given precedences $P$, where $(A_i,A_j)\in P$ means $A_i$ needs to run before $A_j$. There is a set of machines $M_1,\ldots,M_k$. Any activity can be run on any machine. Each $A_i$ has a certain resource consumption on a machine.
Here the packing aspect comes into play. Any machine can be viewed as a rectangle where the $x$-coordinate is time and the $y$-coordinate is the amount of a resource. Any activity $A_i$ has a resource consumption characterized by an area $c_i$. Say, if $A_1,\ldots,A_3$ are scheduled on $M_1$ then we have to place rectangles $r_1,\ldots,r_3$ of areas $c_1,\ldots,c_3$ into the rectangle of $M_1$ without overlap. The goal is to schedule each task on a machine such that the least amount of time has elapsed. This is equal to minimizing the maximum $x$-coordinate of the machines where there is no activity to the right.
In a further variant it is also possible that for a activity $A_i$ we can place multiple rectangles $r_{i1},\ldots,r_{ij}$ into the big rectangle of a machine, such that the areas of those rectangles sum up to $c_i$. But there is also the restriction that $r_{i1},\ldots,r_{ij}$ do not have gaps with respect to the $x$-coordinates and must be scheduled to the same machine.
