It seems like the optimizer is matching the a smaller cut piece to the larger stock piece, then failing with the larger one since it has no match. If you set the larger stock piece to quantity of 2 it will pass. Any ideas what's going on? I'll keep investigating...
Hi I'm having some strange behavior when adding multiple stock pieces and multiple cut pieces. The test below fails with this error:
NoFitForCutPiece(CutPiece { external_id: None, width: 64, length: 192, pattern_direction: None, can_rotate: false })
It seems like the optimizer is matching the a smaller cut piece to the larger stock piece, then failing with the larger one since it has no match. If you set the larger stock piece to quantity of 2 it will pass. Any ideas what's going on? I'll keep investigating...