[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655835-105":59,"doc-detail-655835-en":130,"doc-similar-655835":171},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","on-the-verification-of-umlocl-class-diagrams-using-constraint-programming","On the Veriﬁcation of UML/OCL Class Diagrams using Constraint Programming","","Assessment of software model correctness is essential to ensure the quality of the final application. This paper presents an automatic method to verify UML class diagrams extended with OCL constraints by translating them into a Constraint Satisfaction Problem (CSP). The method checks multiple correctness properties, including weak and strong satisfiability and the absence of constraint redundancies, using modern constraint solvers. The approach supports MDA/MDD workflows where models drive (semi-)automatic code generation.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/on-the-verification-of-umlocl-class-diagrams-using-constraint-programming/655835/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/on-the-verification-of-umlocl-class-diagrams-using-constraint-programming/655835.png","ImageObject",300,407,{"name":92,"@type":93},"McQueen","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address?","Question",{"text":112,"@type":113},"The paper addresses automated verification of correctness for software models expressed as UML class diagrams with OCL constraints.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the proposed method perform verification?",{"text":117,"@type":113},"It translates the UML/OCL model into a Constraint Satisfaction Problem (CSP) and evaluates it with state-of-the-art constraint solvers.",{"name":119,"@type":110,"acceptedAnswer":120},"Which correctness properties does the method check?",{"text":121,"@type":113},"It checks properties such as weak and strong satisfiability and also verifies the absence of constraint redundancies among others.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655835,1793095825,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":29,"preview_urls":146},5909890329169,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","On the Veri􀀌cation of UML/OCL Class Diagrams using Constraint Programming  \nJ. Cabota , R. Claris􀀓ob,􀀃, D. Rierab  \na AtlanMod Research Group, INRIA/cole des Mines de Nantes, 4 rue Alfred Kastler,  \nF-44307 NANTES Cedex 3  \nbEstudis d'Inform􀀒atica, Multim􀀒edia i Telecomunicaci􀀓o, Universitat Oberta de Catalunya,  \nRambla del Poblenou 156, 08018 Barcelona  \nAbstract  \nAssessment of the correctness of software models is a key issue to ensure the quality of the 􀀌nal application. To this end, this paper presents an automatic method for the veri􀀌cation of UML class diagrams extended with OCL constraints. Our method checks compliance of the diagram with respect to several correctness properties including weak and strong satis􀀌ability or absence of constraint redundancies among others. The method works by translating the UML/OCL model into a Constraint Satisfaction Problem (CSP) that is evaluated using state-of-the-art constraint solvers to determine the correctness of the initial model. Our approach is particularly relevant to current MDA and MDD methods where software models are the primary artifacts of the development process and the basis for the (semi-)automatic code-generation of the 􀀌nal application.  \nKeywords: UML, OCL, MDD, Model Veri􀀌cation, Constraint Programming, Constraint Satisfaction Problem  \n1. Introduction  \nOne of the initial stages in the development of a software system is the de􀀌nition of its conceptual schema [Oli07] . A conceptual schema is a description of the knowledge that will be used by the software system, which may include a collection of relevant concepts, attributes, relationships among concepts, integrity constraints or inference rules. There are many candidate notations for expressing a conceptual schema, either with a visual or textual syntax and with or without a formal semantics. To name a few, some of the most well-known notations are entity-relationship (ER) diagrams in database design [Cha76], UML class diagrams in software engineering [Obj11] and logic-based  \n􀀃 Corresponding author: Robert Claris􀀓o, Estudis d'Inform􀀒atica, Multim􀀒edia i Telecomunicaci􀀓o, Universitat Oberta de Catalunya, Rambla del Poblenou 156, 08018 Barcelona, Spain. phone: (+34)933263410 fax:(+34)933568822 e-mail: [rclariso@uoc.edu](rclariso@uoc.edu)  \nPreprint submitted to Elsevier March 14, 2014  \nrepresentations, frames, semantic networks and conceptual graphs in knowledge engineering [Sow00] .  \n1.1. Consistency checking of UML/OCL models  \nFrom the point of view of software quality, some desirable properties of a conceptual schema are completeness (no relevant information is missing) and consistency (the schema does not contain contradictory information) 1 . Ensuring completeness requires some degree of expert validation. In contrast, consistency checking can be automated if the schema is described in a notation providing a formal semantics.  \nIn the context of software engineering, conceptual schemas are typically described using ER diagrams or UML class diagrams. These notations provide several mechanisms to de􀀌ne relationships among concepts, such as associations or inheritance, and to describe integrity constraints, for instance, cardinality constraints. Even though these are simple constructs, the interactions among them may cause consistency problems which are hard to detect for human designers. Furthermore, UML diagrams can be annotated with more complex constraints written in the Object Constraint Language (OCL) [Obj10] . The addition of OCL invariants makes consistency problems even less intuitive, making the case for providing tool support to assist designers.  \nIn addition to the likelihood of inconsistencies due to the expressivity of UML/OCL, there are two pragmatic reasons that motivate the study of the UML/OCL consistency problem, both related to development costs and software quality:  \n􀀏 First, it is an opportunity to detect errors early in the development process. Boehm's 􀀌rst law [ER03] states that","cbCaiuXCrNPsA1f0","https://ap.wps.com/l/cbCaiuXCrNPsA1f0","pdf",2682390,53,"English","# Introduction\n## Consistency checking of UML/OCL models","[{\"question\":\"What problem does the paper address?\",\"answer\":\"The paper addresses automated verification of correctness for software models expressed as UML class diagrams with OCL constraints.\"},{\"question\":\"How does the proposed method perform verification?\",\"answer\":\"It translates the UML/OCL model into a Constraint Satisfaction Problem (CSP) and evaluates it with state-of-the-art constraint solvers.\"},{\"question\":\"Which correctness properties does the method check?\",\"answer\":\"It checks properties such as weak and strong satisfiability and also verifies the absence of constraint redundancies among others.\"}]","On the Veriﬁcation of UML/OCL Class Diagrams using Constraint Programming | PDF",1792964169,134,[147,151,155,159,163,167],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5f0d25ce1d465958a1b32646bc73258e.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5174d2aeda91feef2ac57e12a0743cf9.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a358b090d7fd97e333c0432ff2cab506.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/11fe09909701cf5292016975c4579e63.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6a990d5b118bd00ad85e71862d4d46e0.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c7d5e1aa184f1e7928637d40092ee244.webp",978,1265,{"list":172,"token":66},[173,180,187,193,200,207,213,219,225,231],{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":40,"create_tm":179},267430,"Analysing Constraint Grammars with a SAT-solver","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898567107/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=8%2Fogan7b%2BGpirNlyaLuaEvIfOO8%3D","analysing-constraint-grammars-with-a-sat-solver",16,1789418650,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":40,"create_tm":186},505126,"Extending Structured Declarative Language with Constraint Programming via MiniZinc","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229932251602/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=RuU%2FInzU6QWn8lqFwLQtlagTQEQ%3D","extending-structured-declarative-language-with-constraint-programming-via-minizinc",13,1791091095,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":52,"category_name":40,"create_tm":192},504941,"Learning SAT Encodings for Constraint Satisfaction Problems - PhD Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931967906/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=SVA2FkVY1hF2ZkuOXZywhz5sJJA%3D","learning-sat-encodings-for-constraint-satisfaction-problems-phd-thesis",1791080410,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":40,"create_tm":199},504966,"Selecting SAT Encodings - Constraints","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931981210/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=t%2FZJfORkVFe7NJH44QpuDsNigxs%3D","selecting-sat-encodings-constraints",11,1791081811,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":40,"create_tm":206},85281,"Threshold Rounding and Bounded-Degree Boolean MAX 2-CSP","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809255152/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=gOSfyi63izIvFTsZUn9MSpv4IKk%3D","threshold-rounding-and-bounded-degree-boolean-max-2-csp",24,1784202236,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":39,"category_name":40,"create_tm":212},505110,"A new branch-and-filter exact algorithm for binary constraint satisfaction problems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229932241079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=VKuDccLX%2Befh8f5PP3sKJ%2FYYy04%3D","a-new-branch-and-filter-exact-algorithm-for-binary-constraint-satisfaction-problems",1791090000,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":185,"category_name":40,"create_tm":218},266560,"Relating Proof Complexity Measures and Practical Hardness of SAT","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898530221/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=19nUfzoueUgQCqq293meM1vRKnI%3D","relating-proof-complexity-measures-and-practical-hardness-of-sat",1789408933,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":39,"category_name":40,"create_tm":224},496653,"Constraint-Based Test Oracles for Program Analyzers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929925735/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=z%2BjsnjPvD%2Fsp4pPAH6l4g2o6k0I%3D","constraint-based-test-oracles-for-program-analyzers",1790937636,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":44,"category_name":40,"create_tm":230},505004,"Constraint Solver Requirements for Interactive Configuration - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229932008328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=eVAfDfYL6ZKd6Y3iEzVY%2FEABsFc%3D","constraint-solver-requirements-for-interactive-configuration-abstract",1791085682,{"doc_id":232,"doc_title":233,"file_type":137,"home_preview_img_url":234,"slug":235,"view_count":34,"category_name":40,"create_tm":236},656064,"The Entity-Relationship Model - Chapter 3 - Database Design Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974783376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109179&Signature=J5vOHQRIduqIlYBd%2FOtR7PCGWKI%3D","the-entity-relationship-model-chapter-3-database-design-overview",1792965972]