moq_constraint {mknapsack} | R Documentation |
Creates matrix of moq constraints for the LP optimisation. It is assumed that there is only one moq position per SKU and data is sorted by sku, therefore SKU index can be calculated
moq_constraint(moq)
moq |
flag that indicates that this position contains MOQ |
matrix that expesses the MOQ constraint: non-MOQ item cannot be put into container that does not contain MOQ item