Generate feasible solutions to a knapsack problem using...

Description Usage Arguments Value

View source: R/knapsackSampling.R

Unpack constraints in a list of list into a matrix, equality or inequality signs, constant on right hand side

1 | ```
unlist.constr(constraints)
``` |

`constraints` |
- a list of list of constraints with constr.mat, constr.dir, constr.rhs in each sublist |

a list containing matrix, signs and RHS constants

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.