Skip to content
Back to skills

A State Aggregation Approach For Solving Knapsack Problem With Deep Reinforcement Learning

ASecurity

**arXiv ID:** 2004.12117 **Authors:** Reza Refaei Afshar, Yingqian Zhang, Murat Firat, Uzay Kaymak **Published:** 2020-04-25T11:52:24Z **Abstract:** This paper proposes a Deep Reinforcement Learning (DRL) approach for solving knapsack problem. The proposed method consists of a state aggregation step based on tabular reinforcement learning to extract features and construct states. The state aggregation policy is applied to each problem instance of the knapsack problem, which is used with Advan...

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 11, 2026
toolsgo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add hiyenwong/ai_collection --skill a-state-aggregation-approach-for-solving-knapsack-problem-with-deep-reinforcement-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of A State Aggregation Approach For Solving Knapsack Problem With Deep Reinforcement Learning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for A State Aggregation Approach For Solving Knapsack Problem With Deep Reinforcement Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-a-state-aggregation-approach-for-solving-knapsack/badge)](https://www.skillsdirectory.com/skills/hiyenwong-a-state-aggregation-approach-for-solving-knapsack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# A State Aggregation Approach for Solving Knapsack Problem with Deep Reinforcement Learning

**arXiv ID:** 2004.12117
**Authors:** Reza Refaei Afshar, Yingqian Zhang, Murat Firat, Uzay Kaymak
**Published:** 2020-04-25T11:52:24Z
**Abstract:**
This paper proposes a Deep Reinforcement Learning (DRL) approach for solving knapsack problem. The proposed method consists of a state aggregation step based on tabular reinforcement learning to extract features and construct states. The state aggregation policy is applied to each problem instance of the knapsack problem, which is used with Advantage Actor Critic (A2C) algorithm to train a policy through which the items are sequentially selected at each time step. The method is a constructive solution approach and the process of selecting items is repeated until the final solution is obtained. The experiments show that our approach provides close to optimal solutions for all tested instances, outperforms the greedy algorithm, and is able to handle larger instances and more flexible than an existing DRL approach. In addition, the results demonstrate that the proposed model with the state aggregation strategy not only gives better solutions but also learns in less timesteps, than the one without state aggregation.

## Skill Description

This skill is generated from the arXiv paper: A State Aggregation Approach for Solving Knapsack Problem with Deep Reinforcement Learning (2004.12117).

## How to Use

[To be filled in by the user or by future automation]

## References

- [arXiv:2004.12117](http://arxiv.org/abs/2004.12117v1)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.