Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krshrimali/knapsack-problem-using-javascript-p5-js-

These are my own programs in P5 js
https://github.com/krshrimali/knapsack-problem-using-javascript-p5-js-

algorithms knapsack p5 p5js

Last synced: 21 days ago
JSON representation

These are my own programs in P5 js

Awesome Lists containing this project

README

        

# Knapsack in P5 JS

This is an implementation of Knapsack problem, in p5 js. With a refresh, every time the knapsack is loaded with random capacity (being shown on-screen), and the final output being shown as well (optimal cost).

Also note that this is the most optimized solution only, feasible solutions have not been shown. (Optimized Solution - Profit per unit weight method).

Credits - Kushashwa Ravi Shrimali

For any doubts, feel free to get in touch with me.