{"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/a-framework-for-structural-shape-optimization","title":"A framework for structural shape optimization based on automatic differentiation, the adjoint method and accelerated linear algebra","arxiv_id":"2211.15409","date":"2022-11-23","proceeding":null,"authors":["Gaoyuan Wu"],"abstract":"Shape optimization is of great significance in structural engineering, as an efficient geometry leads to better performance of structures. However, the application of gradient-based shape optimization for structural and architectural design is limited, which is partly due to the difficulty and the complexity in gradient evaluation. In this work, an efficient framework based on automatic differentiation (AD), the adjoint method and accelerated linear algebra (XLA) is proposed to promote the implementation of gradient-based shape optimization. The framework is realized by the implementation of the high-performance computing (HPC) library JAX. We leverage AD for gradient evaluation in the sensitivity analysis stage. Compared to numerical differentiation, AD is more accurate; compared to analytical and symbolic differentiation, AD is more efficient and easier to apply. In addition, the adjoint method is used to reduce the complexity of computation of the sensitivity. The XLA feature is exploited by an efficient programming architecture that we proposed, which can boost gradient evaluation. The proposed framework also supports hardware acceleration such as GPUs. The framework is applied to the form finding of arches and different free-form gridshells: gridshell inspired by Mannheim Multihalle, four-point supported gridshell, and canopy-like structures. Two geometric descriptive methods are used: non-parametric and parametric description via B\\'ezier surface. Non-constrained and constrained shape optimization problems are considered, where the former is solved by gradient descent and the latter is solved by sequential quadratic programming (SQP). Through these examples, the proposed framework is shown to be able to provide structural engineers with a more efficient tool for shape optimization, enabling better design for the built environment.","url_abs":"https://arxiv.org/abs/2211.15409v1","url_pdf":"https://arxiv.org/pdf/2211.15409v1.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"a-framework-for-structural-shape-optimization","repo_url":"https://github.com/gaoyuanwu/jaxsso","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2211.15409","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.15409"}},"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/gaoyuanwu/jaxsso","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"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":"c196ff2977cfb722","entry":"K_aug","repo":"gaoyuanwu/jaxsso","repo_kind":"official","path":"JaxSSO/assemblemodel.py","file_url":"https://github.com/gaoyuanwu/jaxsso/blob/HEAD/JaxSSO/assemblemodel.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":true,"mcp_get_code":{"code_sha256":"c196ff2977cfb722"}},{"code_sha256_prefix":"3e95e5c4b74112f5","entry":"convert_BCOO_to_CSR","repo":"gaoyuanwu/jaxsso","repo_kind":"official","path":"JaxSSO/solver.py","file_url":"https://github.com/gaoyuanwu/jaxsso/blob/HEAD/JaxSSO/solver.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":true,"mcp_get_code":{"code_sha256":"3e95e5c4b74112f5"}},{"code_sha256_prefix":"492f824e4b4e4be9","entry":"f_aug","repo":"gaoyuanwu/jaxsso","repo_kind":"official","path":"JaxSSO/assemblemodel.py","file_url":"https://github.com/gaoyuanwu/jaxsso/blob/HEAD/JaxSSO/assemblemodel.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":true,"mcp_get_code":{"code_sha256":"492f824e4b4e4be9"}},{"code_sha256_prefix":"0646a72c33f9bc1f","entry":"jax_dense_solve","repo":"gaoyuanwu/jaxsso","repo_kind":"official","path":"JaxSSO/solver.py","file_url":"https://github.com/gaoyuanwu/jaxsso/blob/HEAD/JaxSSO/solver.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":true,"mcp_get_code":{"code_sha256":"0646a72c33f9bc1f"}},{"code_sha256_prefix":"9119b11d6d870592","entry":"jax_sparse_solve","repo":"gaoyuanwu/jaxsso","repo_kind":"official","path":"JaxSSO/solver.py","file_url":"https://github.com/gaoyuanwu/jaxsso/blob/HEAD/JaxSSO/solver.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":true,"mcp_get_code":{"code_sha256":"9119b11d6d870592"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}