{"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/nl4opt-competition-formulating-optimization","title":"NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptions","arxiv_id":"2303.08233","date":"2023-03-14","proceeding":null,"authors":["Rindranirina Ramamonjison","Timothy T. Yu","Raymond Li","Haley Li","Giuseppe Carenini","Bissan Ghaddar","Shiqi He","Mahdi Mostajabdaveh","Amin Banitalebi-Dehkordi","Zirui Zhou","Yong Zhang"],"abstract":"The Natural Language for Optimization (NL4Opt) Competition was created to investigate methods of extracting the meaning and formulation of an optimization problem based on its text description. Specifically, the goal of the competition is to increase the accessibility and usability of optimization solvers by allowing non-experts to interface with them using natural language. We separate this challenging goal into two sub-tasks: (1) recognize and label the semantic entities that correspond to the components of the optimization problem; (2) generate a meaning representation (i.e., a logical form) of the problem from its detected problem entities. The first task aims to reduce ambiguity by detecting and tagging the entities of the optimization problems. The second task creates an intermediate representation of the linear programming (LP) problem that is converted into a format that can be used by commercial solvers. In this report, we present the LP word problem dataset and shared tasks for the NeurIPS 2022 competition. Furthermore, we investigate and compare the performance of the ChatGPT large language model against the winning solutions. Through this competition, we hope to bring interest towards the development of novel machine learning applications and datasets for optimization modeling.","url_abs":"https://arxiv.org/abs/2303.08233v2","url_pdf":"https://arxiv.org/pdf/2303.08233v2.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":"nl4opt-competition-formulating-optimization","repo_url":"https://github.com/nl4opt/nl4opt-competition","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"large-language-model","task_name":"Large Language Model"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.08233","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.08233"}},"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/bigdata-ustc/nl4opt","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/mlpgroup/nl4opt-eq-generation","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/jsh710101/nl4opt","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nl4opt/nl4opt-competition","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"found_in_text":{"samples":6,"ran":0,"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":6,"samples":[{"code_sha256_prefix":"0ee2f1f1e57c8985","entry":"format_inputs_outputs","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"0ee2f1f1e57c8985"}},{"code_sha256_prefix":"5abae9209f206bbd","entry":"format_typed_mention","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"5abae9209f206bbd"}},{"code_sha256_prefix":"5647184de50e57a2","entry":"overall_score","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"scoring.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/scoring.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"5647184de50e57a2"}},{"code_sha256_prefix":"8dc79f5758e40b97","entry":"per_example_scores","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"scoring.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/scoring.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"8dc79f5758e40b97"}},{"code_sha256_prefix":"5997a198542ccaa4","entry":"read_results","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"read_results.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/read_results.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"5997a198542ccaa4"}},{"code_sha256_prefix":"6b87c15aae792362","entry":"token2sub_tokens","repo":"mlpgroup/nl4opt-eq-generation","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/mlpgroup/nl4opt-eq-generation/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"6b87c15aae792362"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}