moq_constraint {mknapsack} | R Documentation |
Mininum Order Quantity (MOQ) contstraint generator
Description
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
Usage
moq_constraint(moq)
Arguments
moq |
flag that indicates that this position contains MOQ |
Value
matrix that expesses the MOQ constraint: non-MOQ item cannot be put into container that does not contain MOQ item
[Package mknapsack version 0.1.0 Index]