This paper presents a method for solving the minmax 0/1 knapsack problem using dynamic programming, which optimizes resource allocation within specified weight limits. The study concludes that the method effectively minimizes weight while meeting minimum criteria, especially applicable in logistical contexts such as container loading. The knapsack problem itself remains a significant area of research in combinatorial optimization and has various applications across multiple fields.