[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84643-en":3,"doc-seo-84643-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},84643,3848291630094,"Emma Wilson","https://eur-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45",8,"Research & Report","Hybridizing a Grouping Metaheuristic with Reinforcement Learning for the One-Dimensional Bin Packing Problem","The one-dimensional Bin Packing Problem (1D-BPP) assigns items with known sizes to identical fixed-capacity bins while minimizing the number of bins and never exceeding capacity. The NP-hard nature of 1D-BPP makes exact methods quickly intractable as instances grow. This study proposes RLHGGA, a hybrid that keeps HGGA’s grouping genetic operators but replaces fixed probabilistic selection with an adaptive Q-learning policy, choosing macro-actions from the search state using rewards from solution improvement and computational cost. Experiments on Falkenauer, Scholl, and Hard28 benchmarks compare FFD, HGGA, and RL-HGGA by bins, gap to lower bound, and runtime. Results retain near-HGGA quality while substantially reducing execution time, with ablations indicating the learning component mainly improves time efficiency.","Hybridization of a Grouping Metaheuristic and Reinforcement Learning for the One-Dimensional  \nBin Packing Problem  \nMostefai Mounir Sofiane, Tati Youcef, Badaoui Ikram, Bousdjira Nadine, Hasnaoui Sarah, Zitouni Rania  \nSquare Two Team – Optimization Module  \nÉcole Nationale Supérieure d’Informatique (ESI)  \nAlgiers, Algeria  \n[Emails: mm_mostefai@esi.dz](Emails: mm_mostefai@esi.dz), [my_tati@esi.dz](my_tati@esi.dz), [mi_badaoui@esi.dz](mi_badaoui@esi.dz), [mn_bousdjira@esi.dz](mn_bousdjira@esi.dz), [ms_hasnaoui@esi.dz](ms_hasnaoui@esi.dz), [mr_zitouni@esi.dz](mr_zitouni@esi.dz)  \narXiv :2607 .023 15v 1 [ cs .NE] 2 Jul 2026  \nAbstract—The one-dimensional Bin Packing Problem (1D-BPP) consists of assigning a set of items with known sizes to a minimum number of identical bins of fixed capacity, without exceeding the capacity of any bin. This problem is NP-hard and quickly becomes intractable for exact methods as instance size grows. In this work, our central focus is a hybridization between the Hybrid Grouping Genetic Algorithm (HGGA) metaheuristic and reinforcement learning. The proposed approach, denoted RLHGGA, retains the classical operators of HGGA but replaces their fixed probabilistic selection with an adaptive policy learned via Q-learning. The agent observes the current state of the search, selects a macro-action, and updates its policy based on a reward derived from solution improvement and computational cost. Experiments are conducted on standard 1D-BPP benchmarks (Falkenauer, Scholl, and Hard28) and compare FFD, HGGA, and RL-HGGA in terms of number of bins used, gap to the lower bound, and execution time. Results show that HGGA remains the best reference in average solution quality, whereas RL-HGGA provides an interesting quality–time trade-off by substantially reducing computation time while maintaining quality close to that of HGGA. The ablation study shows that the ML component primarily improves the time efficiency of the search while preserving solution quality close to that of HGGA.  \nIndex Terms—Bin Packing Problem, combinatorial optimization, metaheuristics, Grouping Genetic Algorithm, HGGA, reinforcement learning, Q-learning, hybridization.  \nI. INTRODUCTION  \nA. Problem Definition  \nThe one-dimensional Bin Packing Problem is a grouping and assignment problem. Given a set of items I = {1,..., n}, where each item i has a size wi , and a set of identical bins of capacity C, the goal is to assign each item to a bin such that the capacity is never exceeded, while minimizing the total number of bins used. This problem arises naturally in logistics, industrial cutting, memory allocation, file storage, and resource loading. Its theoretical difficulty is well established: the 1D-BPP is NP-hard, which explains the widespread use of approximate methods as instance size increases [1], [2] .  \nB. State of the Art of Metaheuristics  \nThe literature on solving the 1D-BPP can be organized into three main families. The first encompasses constructive  \nheuristics, such as First Fit, Best Fit, First Fit Decreasing (FFD), and Best Fit Decreasing. These methods build a solution by scanning items in a given order and placing them in an existing bin or opening a new one. They are valued for their simplicity and speed, but remain limited by their greedy nature: a poor decision made early in construction is generally not revised afterward [2] .  \nThe second family comprises exact and near-exact methods, such as integer linear programming, branch-and-bound, and branch-and-price schemes. These approaches are important because they can prove optimality or provide reference bounds. However, their computational cost grows rapidly with instance size and difficulty. In an experimental context where multiple benchmark families must be processed, approximate methods therefore remain necessary.  \nThe third family, central to this work, is that of metaheuristics. Metaheuristics are general-purpose search methods capable of exploring a very lar","cbCaib9dqqFawNlz","https://ap.wps.com/l/cbCaib9dqqFawNlz","pdf",652845,1,10,"English","en",105,"# Introduction\n## Problem Definition\n## State of the Art of Metaheuristics","[{\"question\":\"What is the goal of the one-dimensional Bin Packing Problem (1D-BPP)?\",\"answer\":\"Assign items to identical fixed-capacity bins without exceeding any bin’s capacity, while minimizing the total number of bins used.\"},{\"question\":\"How does RLHGGA hybridize HGGA with reinforcement learning?\",\"answer\":\"RLHGGA keeps HGGA’s classical grouping genetic operators but replaces their fixed probabilistic selection with an adaptive policy learned via Q-learning, where an agent selects macro-actions and updates based on rewards tied to improvement and computational cost.\"},{\"question\":\"What do experiments on standard benchmarks show about RL-HGGA compared with HGGA and FFD?\",\"answer\":\"HGGA remains the best reference in average solution quality, while RL-HGGA achieves an advantageous quality–time trade-off by substantially reducing computation time while keeping quality close to HGGA.\"}]",1784197430,25,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"hybridizing-a-grouping-metaheuristic-with-reinforcement-learning-for-the-one-dimensional-bin-packing-problem","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/hybridizing-a-grouping-metaheuristic-with-reinforcement-learning-for-the-one-dimensional-bin-packing-problem/84643/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the goal of the one-dimensional Bin Packing Problem (1D-BPP)?","Question",{"text":75,"@type":76},"Assign items to identical fixed-capacity bins without exceeding any bin’s capacity, while minimizing the total number of bins used.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does RLHGGA hybridize HGGA with reinforcement learning?",{"text":80,"@type":76},"RLHGGA keeps HGGA’s classical grouping genetic operators but replaces their fixed probabilistic selection with an adaptive policy learned via Q-learning, where an agent selects macro-actions and updates based on rewards tied to improvement and computational cost.",{"name":82,"@type":73,"acceptedAnswer":83},"What do experiments on standard benchmarks show about RL-HGGA compared with HGGA and FFD?",{"text":84,"@type":76},"HGGA remains the best reference in average solution quality, while RL-HGGA achieves an advantageous quality–time trade-off by substantially reducing computation time while keeping quality close to HGGA.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":45,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":45,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":45,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":21,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":21,"slug":133},"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]