Description Usage Arguments Value

Solves knapsack problem with the library defined in knapsack.solver option: - cbc (default) - uses rcbc package - lpsolve - uses lpSolve package

1 |

`profit` |
vector with profit for item |

`volume` |
vector of item sizes in cubic meters |

`moq` |
vector of flags where 1 means that row contans mininum order quantity (MOQ). Defaults to zero vector matching profit in length. |

`cap` |
size of the container in cubic meters |

vector with container numbers keeping the permutation of the original data

madedotcom/mknapsack documentation built on June 28, 2018, 2:09 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.