{"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-2605-00260","title":"NLPOpt-Net: A Learning Method for Nonlinear Optimization with Feasibility Guarantees","arxiv_id":"2605.00260","date":"2026-04-30","proceeding":null,"authors":["Bimol Nath Roy","Rahul Golder","MM Faruque Hasan"],"abstract":"Nonlinear Parametric Optimization Network (NLPOpt-Net) is an unsupervised learning architecture to solve constrained nonlinear programs (NLP). Given the structure of an NLP, it learns the parametric solution maps with guaranteed constraint satisfaction. The architecture consists of a backbone neural network (NN) followed by a multilayer ($k$-layered) projection. While the NN drives toward optimality through a loss function consisting of a modified Lagrangian augmented with a consistency loss, the projection ensures feasibility by projecting the NN predictions in the original constraint manifold. Instead of typical distance minimization, our projection exploits local quadratic approximations of the original NLP. Under certain conditions (such as convexity), the projection has a descent property, which improves the NN predictions further. NLPOpt-Net deploys an inversion-free, modified Chambolle-Pock algorithm to solve the constrained quadratic projections during the forward pass and uses the implicit function theorem for efficient backpropagation. The fixed structure of the projection further allows decoupling of the NN and the projection once the training is complete. NLPOpt-Net solves large-scale convex QP, QCQP, NLP, and nonconvex problems with near zero optimality gap and constraint violations reduced to machine precision. Additionally, it provides near accurate prediction of the active sets and corresponding dual variables, thereby enabling a scalable approach for multiparametric programming. Compiling the projection in C provides order of magnitude improvement in inference time compared to JAX. We provide the codes and NLPOpt-Net as a ready to use package that includes GPU support.","url_abs":"https://arxiv.org/abs/2605.00260","url_pdf":"https://arxiv.org/pdf/2605.00260","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":{"syntology_url":"https://syntology.ai/paper/2605.00260","atlas_url":"https://app.syntology.ai/?focus=2605.00260","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.00260"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/souls-tamu/nlpoptnet","reach":null}],"summary":{"ran":3,"ran_honours":1,"ran_draft_wrong":12,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":23,"ran":16,"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":0,"samples":[{"code_sha256_prefix":"19adf70ac466f7f3","entry":"ParameterSpec","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"19adf70ac466f7f3"}},{"code_sha256_prefix":"6c6efb63f584e18a","entry":"QuadraticObjective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6c6efb63f584e18a"}},{"code_sha256_prefix":"09cdd98635880c68","entry":"VariableSpec","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"09cdd98635880c68"}},{"code_sha256_prefix":"c0355ddf23075832","entry":"_as_1d","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c0355ddf23075832"}},{"code_sha256_prefix":"037f448a77c01b19","entry":"aggregate_constraint_jacobian","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"037f448a77c01b19"}},{"code_sha256_prefix":"295fb68ea0ac689c","entry":"aggregate_constraints","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"295fb68ea0ac689c"}},{"code_sha256_prefix":"e648a6e4040548f8","entry":"build_diag_hess_y_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e648a6e4040548f8"}},{"code_sha256_prefix":"fe7029cfa054529a","entry":"build_grad_y_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fe7029cfa054529a"}},{"code_sha256_prefix":"a5f41d42ed046759","entry":"build_hess_y_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a5f41d42ed046759"}},{"code_sha256_prefix":"90f5abfa450f6151","entry":"build_sqp_data","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"90f5abfa450f6151"}},{"code_sha256_prefix":"bd8fbcb0c44e9951","entry":"build_sqp_subproblem_data","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd8fbcb0c44e9951"}},{"code_sha256_prefix":"7236e74d015f0256","entry":"linearize_constraints","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7236e74d015f0256"}},{"code_sha256_prefix":"55349d67e26f7ba5","entry":"linearize_constraints_data","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"55349d67e26f7ba5"}},{"code_sha256_prefix":"e040cda34782cc35","entry":"quadraticize_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e040cda34782cc35"}},{"code_sha256_prefix":"7c151df86ae840e0","entry":"quadraticize_objective_data","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7c151df86ae840e0"}},{"code_sha256_prefix":"2cc77b1530e454ee","entry":"wrap_scalar_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2cc77b1530e454ee"}},{"code_sha256_prefix":"16a809cfd7a86382","entry":"BoundSpec","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"16a809cfd7a86382"}},{"code_sha256_prefix":"eb18cdd5625babbf","entry":"ConstraintEntry","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eb18cdd5625babbf"}},{"code_sha256_prefix":"55d5c5b12f3b7133","entry":"JaxNLPModel","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"55d5c5b12f3b7133"}},{"code_sha256_prefix":"27f21d2abb42bac1","entry":"LinearizationData","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"27f21d2abb42bac1"}},{"code_sha256_prefix":"49228e83d5df9126","entry":"QuadraticObjectiveData","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"49228e83d5df9126"}},{"code_sha256_prefix":"95a6fe45248a39a5","entry":"SQPSubproblemData","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"95a6fe45248a39a5"}},{"code_sha256_prefix":"83a9f72da6693d18","entry":"resolve_objective","repo":"souls-tamu/nlpoptnet","repo_kind":"found_in_text","path":"nlpoptnet/src/jaxmodel/model.py","file_url":"https://github.com/souls-tamu/nlpoptnet/blob/HEAD/nlpoptnet/src/jaxmodel/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"83a9f72da6693d18"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}