[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-505113-105":59,"doc-detail-505113-en":131},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","minizinc-for-formal-reasoning","MiniZinc for Formal Reasoning","","MiniZinc for Formal Reasoning presents a compact overview of the MiniZinc constraint modelling language and its ecosystem, including history, adoption, and tooling. It explains how MiniZinc compiles into FlatZinc encoding for solver backends and outlines future directions. The material also introduces MiniZinc’s programming character—specification and logic-programming-like, yet leaving nondeterminism to solvers—followed by a quick demo of stable matching and key elements of the MiniZinc type system for defining models safely.",{"@graph":69,"@context":123},[70,84,106],{"@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/minizinc-for-formal-reasoning/505113/",{"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/minizinc-for-formal-reasoning/505113.png","ImageObject",300,407,{"name":92,"@type":93},"aboduw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-07","2026-10-04",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is MiniZinc used for in this document?","Question",{"text":113,"@type":114},"MiniZinc is presented as a constraint modelling language used to describe programs in terms of logic and to solve constraint problems with various solver backends.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does MiniZinc connect to solvers?",{"text":118,"@type":114},"The document states that MiniZinc is compiled to FlatZinc encoding, which is then handled by solver backends.",{"name":120,"@type":111,"acceptedAnswer":121},"What does the MiniZinc type system allow for decision variables?",{"text":122,"@type":114},"It specifies that only sets of ints or enums are allowed to be decision variables, and it lists core types such as int, bool, float, enum, set, arrays, and notes about strings.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},505113,1791296194,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":29,"preview_urls":147},3985747862266,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","MiniZinc for Formal Rea *soning  \nPeter J. Stuckey, October 2023  \n*Most of the credit goes to Henk Bierlee, Jip Dekker, Jason Nguyen, Guido Tack. Most of the mistakes are mine.  \nI acknowledge and pay respects to the Elders and Traditional Owners of the land on which Clayton campus stands  \nOverview  \nA quick look at MiniZinc  \nMiniZinc features  \nHow MiniZinc is compiled to FlatZinc Encoding state in MiniZinc  \nFuture plans for MiniZinc  \nA quick look at MiniZinc  \nMiniZinc  \n• Constraint Modelling Language  \n• First version 2007, re-implemented v2.0 released 2014  \n• Used in industry and academia  \n• Thousands of downloads per month, 2 Coursera courses, ~1000 citations of 2007 paper  \n• Full system (compiler, IDE, tutorial and reference documentation, lots of solver backends…)  \n• Open source, [available from www.minizinc.org](available from www.minizinc.org)  \nWhat kind of language?  \n• Speciﬁcation language?  \n• we could deﬁne what a program means purely in terms of logic (except recursion makes it a bit awkward)  \n• Constraint Logic Programming?  \n• quite similar, mixing “procedural” and purely declarative aspects (e.g. forall can act like a loop or a predicate)  \n• but MiniZinc leaves all non-determinism to the solver  \n• Functional Programming?  \n• base language is functional (even kind of pure)  \nQuick MiniZinc demo  \nT1 prefers Coding most, Security least  \n\n|  | Coding | UX | Doc | Testing | Security |\n| --- | --- | --- | --- | --- | --- |\n| T1  | \u003Cbr>1 5 | 2 4\u003Cbr>| 4 5\u003Cbr>| 3 1\u003Cbr>| 5 4\u003Cbr>|\n| T2  | 3 1\u003Cbr>| 5 / 1 C | oding gr mos | oup preft T1 leas | ers T2 t |\n| T3  | 5 2\u003Cbr>| 4 / 3 | 2 / 2 | ,\u003Cbr>1 / 4 | 3 / 2 |\n| T4  | 1 4\u003Cbr>| 3 / 2 | 5 / 4 | 4 / 3 | 2 / 1 |\n| T5\u003Cbr>| 4 3\u003Cbr>| 2 / 5 | 3 / 1 | 5 / 2 | 1 / 5 |\n\nFind a matching of team members to groups  \nthat is stable: i.e . no member would prefer to change to a diﬀerent group, which would also prefer them to their current assigned member  \nQuick MiniZinc demo  \n\n|  | Coding | UX | Doc | Testing | Security |\n| --- | --- | --- | --- | --- | --- |\n| T1  | 1 / 5 | 2 / 4 | 4 / 5 | \u003Cbr>3 / 1 | 5 / 4 |\n| T2  | \u003Cbr>3 / 1 | 5 / 1 | 1 / 3 | 2 / 5 | 4 / 3 |\n| T3  | 5 / 2\u003Cbr>| 4 / 3\u003Cbr>| 2 / 2\u003Cbr>| 1 / 4\u003Cbr>| 3 / 2\u003Cbr>|\n| T4  | 1 / 4 | 3 / 2 | 5 / 4 | 4 / 3 | \u003Cbr>2 / 1 |\n| T5\u003Cbr>| 4 / 3 | 2 / 5 | \u003Cbr>3 / 1 | 5 / 2 | 1 / 5 |\n\nMiniZinc Features  \nMiniZinc Type System  \n• Basic types:  \n• int, bool, float  Beware solvers make mistakes using ﬂoats   \n• Enumerated types: enum  \n• named discrete (ordered) types.  \n• Set types: set of \u003CT>  \n• Only sets of int’s/enum’s are allowed to be decision variables  \n• Array types: array [\u003CIndexSet1> , \u003CIndexSet2> , …] of \u003CElementType>  \n• Arrays have dimension sizes ﬁxed by the input  \nMiniZinc Type System  \n• Extended enumerations  \n• enum OP = DUP (1 . .m) ++ SWAP (2 . .m) ++ {POP, ADD, MUL};  \n• enum XOP = O(OP) ++ { NOP };  \n• Constructor function O and (partial) inverse O^ -1 are generated too.  \n• Tuples and Records  \n• type Point = record(0 . . infinity: x, 0 . . infinity: y);  \n• Note also type synonyms  \n• Strings: string. No string decision variables, only for output processing/debugging.","cbCaion9EOxWMegv","https://ap.wps.com/l/cbCaion9EOxWMegv","pdf",4416014,57,"English","# Overview\n## A quick look at MiniZinc\n## What kind of language?\n## Quick MiniZinc demo\n## MiniZinc Features\n### MiniZinc Type System","[{\"question\":\"What is MiniZinc used for in this document?\",\"answer\":\"MiniZinc is presented as a constraint modelling language used to describe programs in terms of logic and to solve constraint problems with various solver backends.\"},{\"question\":\"How does MiniZinc connect to solvers?\",\"answer\":\"The document states that MiniZinc is compiled to FlatZinc encoding, which is then handled by solver backends.\"},{\"question\":\"What does the MiniZinc type system allow for decision variables?\",\"answer\":\"It specifies that only sets of ints or enums are allowed to be decision variables, and it lists core types such as int, bool, float, enum, set, arrays, and notes about strings.\"}]","MiniZinc for Formal Reasoning | PDF",1791090497,144,[148,152,155,159,162,166],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8f5f566f32db48285bc8ebfad1becb8b.webp",983,552,{"page_no":14,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/27e99237774f54d03ad398f940b17049.webp",982,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ab98948f3d318a9caa63524b78df82c7.webp",981,551,{"page_no":19,"url":160,"width":161,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2f2664d2815c66c5cbeda6b321a38923.webp",980,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/62caee6edd1f657c413f8dbca0584713.webp",979,550,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a2aa0948dcf0aa7d0e13a20650fae0ab.webp",978,549]