{"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/arxiv-2609-13945","title":"SAILOR: Solver-Assisted Interactive LLM-based Optimization Recovery","arxiv_id":"2609.13945","date":"2026-09-12","proceeding":null,"authors":["Shaghayegh Sadeghi","Stephen L. Smith","David C. Del Rey Fern'andez"],"abstract":"Natural-language descriptions of optimization problems may be incomplete or vague about numerical information that a solver requires, including costs, capacities, demands, bounds, and penalties. A language model can translate the description into code, but when a required value is absent it must either stop or guess. We present SAILOR, a proof-of-concept system that detects such unsupported numerical choices, asks the user targeted follow-up questions, and updates the optimization model before returning a solution. Questions are prioritized using uncertainty and solver-derived estimates of how strongly each missing value affects the current model. We evaluate the pipeline on 1,723 instances from seven masked benchmarks using an idealized simulator that returns ground-truth values. Exact objective-value agreement ranges from 27.0% to 87.6% across datasets, with 1.4--5.7 questions per instance on average. These results establish feasibility under controlled branch-and-reveal feedback; they do not measure performance with human users or general structural model repair. Code is available at: https://github.com/sshaghayeghs/SAILOR.","url_abs":"https://arxiv.org/abs/2609.13945","url_pdf":"https://arxiv.org/pdf/2609.13945","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2609.13945","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.13945"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/sshaghayeghs/SAILOR","reach":{"status":"ok"}}],"summary":{"unverified":7},"by_repo_kind":{"found_in_text":{"samples":7,"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":7,"samples":[{"code_sha256_prefix":"2cf46a51fd09d0be","entry":"discover_datasets","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"run_full_pipeline_all_datasets.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/run_full_pipeline_all_datasets.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":"2cf46a51fd09d0be"}},{"code_sha256_prefix":"f4cf6dc11dbef954","entry":"interpret_answer","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"ast_solver/answer_interpreter.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/ast_solver/answer_interpreter.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":"f4cf6dc11dbef954"}},{"code_sha256_prefix":"0251482e61b7924d","entry":"load_ablation_data","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"plot_ablation_comparison.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/plot_ablation_comparison.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":"0251482e61b7924d"}},{"code_sha256_prefix":"cf4530ca628192cf","entry":"load_ground_truth","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"ast_solver/pipeline.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/ast_solver/pipeline.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":"cf4530ca628192cf"}},{"code_sha256_prefix":"b2bf46db4ef0e1ac","entry":"load_masked_text","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"ast_solver/pipeline.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/ast_solver/pipeline.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":"b2bf46db4ef0e1ac"}},{"code_sha256_prefix":"bbc47e8b5ed87efc","entry":"serialize_solver_detail","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"run_full_pipeline_all_datasets.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/run_full_pipeline_all_datasets.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":"bbc47e8b5ed87efc"}},{"code_sha256_prefix":"d559f6d4b74b888e","entry":"substitute_params","repo":"sshaghayeghs/SAILOR","repo_kind":"found_in_text","path":"ast_solver/executor.py","file_url":"https://github.com/sshaghayeghs/SAILOR/blob/HEAD/ast_solver/executor.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":"d559f6d4b74b888e"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.AI","source":"arxiv_backlog_21d_20260915.json"},"syntology_extracted_results":null}