moq_constraint: Mininum Order Quantity (MOQ) contstraint generator

Description Usage Arguments Value

View source: R/packing.R

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

1

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


madedotcom/mknapsack documentation built on Jan. 19, 2020, 1:52 p.m.