{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/pdhg-unrolled-learning-to-optimize-method-for","title":"PDHG-Unrolled Learning-to-Optimize Method for Large-Scale Linear Programming","arxiv_id":"2406.01908","date":"2024-06-04","proceeding":null,"authors":["Bingheng Li","Linxin Yang","Yupeng Chen","Senmiao Wang","Qian Chen","Haitao Mao","Yao Ma","Akang Wang","Tian Ding","Jiliang Tang","Ruoyu Sun"],"abstract":"Solving large-scale linear programming (LP) problems is an important task in various areas such as communication networks, power systems, finance and logistics. Recently, two distinct approaches have emerged to expedite LP solving: (i) First-order methods (FOMs); (ii) Learning to optimize (L2O). In this work, we propose an FOM-unrolled neural network (NN) called PDHG-Net, and propose a two-stage L2O method to solve large-scale LP problems. The new architecture PDHG-Net is designed by unrolling the recently emerged PDHG method into a neural network, combined with channel-expansion techniques borrowed from graph neural networks. We prove that the proposed PDHG-Net can recover PDHG algorithm, thus can approximate optimal solutions of LP instances with a polynomial number of neurons. We propose a two-stage inference approach: first use PDHG-Net to generate an approximate solution, and then apply PDHG algorithm to further improve the solution. Experiments show that our approach can significantly accelerate LP solving, achieving up to a 3$\\times$ speedup compared to FOMs for large-scale LP problems.","url_abs":"https://arxiv.org/abs/2406.01908v2","url_pdf":"https://arxiv.org/pdf/2406.01908v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"pdhg-unrolled-learning-to-optimize-method-for","repo_url":"https://github.com/netsysopt/pdhg-net","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.01908","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.01908"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/NetSysOpt/PDHG-Net","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/netsysopt/pdhg-net","reach":{"status":"ok"}}],"summary":{"ran_violates":1,"ran":4,"unverified":6},"by_repo_kind":{"official":{"samples":11,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":11,"samples":[{"code_sha256_prefix":"3a01172c3031bcd6","entry":"is_empty_tensor","repo":"netsysopt/pdhg-net","repo_kind":"official","path":"src_iplb/training_ip.py","file_url":"https://github.com/netsysopt/pdhg-net/blob/HEAD/src_iplb/training_ip.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":2,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3a01172c3031bcd6"}},{"code_sha256_prefix":"21c37b3683c1c5d6","entry":"GenerateKnapsack_simp","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_iplb/knapsack_ip.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_iplb/knapsack_ip.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"21c37b3683c1c5d6"}},{"code_sha256_prefix":"0a45412b8e8fc9a1","entry":"GenerateKnapsack_simp","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_iplb/knapsack_ip_small.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_iplb/knapsack_ip_small.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0a45412b8e8fc9a1"}},{"code_sha256_prefix":"f1a1ec286fb2c63f","entry":"GenerateLoadBalancingProblem","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_iplb/knapsack_lb.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_iplb/knapsack_lb.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1a1ec286fb2c63f"}},{"code_sha256_prefix":"70a868e5bfe3b7e2","entry":"GenerateLoadBalancingProblem","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_iplb/knapsack_lbsmall.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_iplb/knapsack_lbsmall.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"70a868e5bfe3b7e2"}},{"code_sha256_prefix":"fad153fe4ae5bd2b","entry":"BipartiteGraphConvolution","repo":"netsysopt/pdhg-net","repo_kind":"official","path":"src_iplb/models.py","file_url":"https://github.com/netsysopt/pdhg-net/blob/HEAD/src_iplb/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fad153fe4ae5bd2b"}},{"code_sha256_prefix":"7b6a70056cd7325c","entry":"GCNPolicy","repo":"netsysopt/pdhg-net","repo_kind":"official","path":"src_iplb/models.py","file_url":"https://github.com/netsysopt/pdhg-net/blob/HEAD/src_iplb/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7b6a70056cd7325c"}},{"code_sha256_prefix":"2163a519147f3ff6","entry":"build_adj_left_from_right","repo":"netsysopt/pdhg-net","repo_kind":"official","path":"src_iplb/models.py","file_url":"https://github.com/netsysopt/pdhg-net/blob/HEAD/src_iplb/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2163a519147f3ff6"}},{"code_sha256_prefix":"a61c8fa7b9ad3269","entry":"build_adj_left_from_right","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_pagerank/models_indentity.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_pagerank/models_indentity.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a61c8fa7b9ad3269"}},{"code_sha256_prefix":"45368b612866f290","entry":"build_adj_right_from_left","repo":"netsysopt/pdhg-net","repo_kind":"official","path":"src_iplb/models.py","file_url":"https://github.com/netsysopt/pdhg-net/blob/HEAD/src_iplb/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"45368b612866f290"}},{"code_sha256_prefix":"18d188e218bd2dc7","entry":"build_adj_right_from_left","repo":"NetSysOpt/PDHG-Net","repo_kind":"official","path":"src_pagerank/models_indentity.py","file_url":"https://github.com/NetSysOpt/PDHG-Net/blob/HEAD/src_pagerank/models_indentity.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"18d188e218bd2dc7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}