Hi,
There is a modeling problem: assuming that there are several liquids of different colors waiting to be allocated to several rows of small boxes (the same length and width, but variable height), each row of boxes can only accept liquids of a specific color, and the heights of the boxes provided by each row are different. If we model according to the idea of TaskAssigning in the case, we will need a long box (similar to the duration in the case) to hold the liquid, and due to the limitations of the left and right boundaries, the long box will often exceed the boundary, which does not meet the Practical requirements, because there is no hard requirement that the liquid needs to be packed in a long box, on the contrary, it can be divided into several small boxes.
Please see below drafts for better understanding:
Now I want to plan the small boxes (ProblemFact) into the row (PlanningVariable), but the sizes of these small boxes will change due to the different liquids and rows, which is contrary to the immutable specification of ProblemFact.
Do you have any better suggestions? Thanks in advance.