{"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/optimization-algorithm-design-via-electric","title":"Optimization Algorithm Design via Electric Circuits","arxiv_id":"2411.02573","date":"2024-11-04","proceeding":null,"authors":["Stephen P. Boyd","Tetiana Parshakova","Ernest K. Ryu","Jaewook J. Suh"],"abstract":"We present a novel methodology for convex optimization algorithm design using ideas from electric RLC circuits. Given an optimization problem, the first stage of the methodology is to design an appropriate electric circuit whose continuous-time dynamics converge to the solution of the optimization problem at hand. Then, the second stage is an automated, computer-assisted discretization of the continuous-time dynamics, yielding a provably convergent discrete-time algorithm. Our methodology recovers many classical (distributed) optimization algorithms and enables users to quickly design and explore a wide range of new algorithms with convergence guarantees.","url_abs":"https://arxiv.org/abs/2411.02573v2","url_pdf":"https://arxiv.org/pdf/2411.02573v2.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":"optimization-algorithm-design-via-electric","repo_url":"https://github.com/cvxgrp/optimization_via_circuits","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"distributed-optimization","task_name":"Distributed Optimization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.02573","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.02573"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cvxgrp/optimization_via_circuits","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"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":0,"samples":[{"code_sha256_prefix":"5a427cf4531cb67d","entry":"const_coeff_expr","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_parsing.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_parsing.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":"5a427cf4531cb67d"}},{"code_sha256_prefix":"b41e142ee4836f2a","entry":"dadmm","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/discretized_methods.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/discretized_methods.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":"b41e142ee4836f2a"}},{"code_sha256_prefix":"e5971a9822e7eb57","entry":"find_lambda_nu","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_to_solvers.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_to_solvers.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":"e5971a9822e7eb57"}},{"code_sha256_prefix":"03d56cbabc48b699","entry":"linear_matrix_expr_to_coeff_matrix","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_parsing.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_parsing.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":"03d56cbabc48b699"}},{"code_sha256_prefix":"5cd5e47e71d2b247","entry":"pg_extra","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/discretized_methods.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/discretized_methods.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":"5cd5e47e71d2b247"}},{"code_sha256_prefix":"428a8d61cd4779a1","entry":"sp_v_coeff_matrix","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_parsing.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_parsing.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":"428a8d61cd4779a1"}},{"code_sha256_prefix":"06ce015cc94a834d","entry":"sympy_expression_to_casadi_lamb","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_to_solvers.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_to_solvers.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":"06ce015cc94a834d"}},{"code_sha256_prefix":"72ba95f1a562b965","entry":"sympy_matrix_to_casadi","repo":"cvxgrp/optimization_via_circuits","repo_kind":"official","path":"ciropt/sympy_to_solvers.py","file_url":"https://github.com/cvxgrp/optimization_via_circuits/blob/HEAD/ciropt/sympy_to_solvers.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":"72ba95f1a562b965"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}