there are three functions in this package, each of the gave the same out put but in different time of excution the input is a combiation of twovectors of which one is the values of items and the second vector is thier respectivewieghts the second argument is a scalar, which is the maximum limit which the sack can hold.
Package details | 
          |
|---|---|
| Author | Aqeel and Merhawi | 
| Maintainer | <|merge269@liu.se> | 
| License | What license is it under? | 
| Version | 1.0 | 
| Package repository | View on GitHub | 
| Installation | 
                Install the latest version of this package by entering the following in R:
                
               | 
            
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.