edmilsonrobson / edmilsonrobson/0-1-Knapsack-Problem-with-Genetic-Algorithms

0-1 Knapsack Problem Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. In other words, given two integer arrays val[0..n-1] and wt[0..n-1] which represent values and weights associated with n items respectively. Also given an integer W which represents knapsack capacity, find out the maximum value subset of val[] such that sum of the weights of this subset is smaller than or equal to W. You cannot break an item, either pick the c

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
14
PR merge metrics
No merged PRs in 30d

Description

This issue has no description.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides only a truncated 0-1 knapsack problem statement and does not mention files, tests, or an entry point. First inspect the repository structure and existing Python implementation to determine the intended change; the issue needs a defined scope and completion criteria before work can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.