knapsack

Tag

Cards List
#knapsack

0/1 Knapsack Problem in PyTorch

Hacker News Top ↗ · 2026-10-14 Cached

The article introduces dp_knapsack_sliding_hirschberg, a new activation memory budget solver for PyTorch that reduces peak RAM usage during memory planning by up to 20x compared to the default dp_knapsack solver, explaining how 0/1 knapsack dynamic programming is used to choose which operations to save or recompute.

0 favorites 0 likes
#knapsack

Budget-First Tariff Recommendation (BFTR): A Complete Algorithmic Framework for Telecom Plan Recommendation without Overcharging

arXiv cs.CL ↗ · 2026-08-20 Cached

The paper introduces BFTR, an algorithmic framework for telecom tariff recommendation that prioritizes customer budgets and prevents overcharging. Experiments on a Nigerian MTN-inspired dataset demonstrate the framework's effectiveness with zero surcharge and high utility.

0 favorites 0 likes
← Back to home

Submit Feedback