[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-504954-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-504954-en":130,"doc-similar-504954":213},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","constraint-programming-practical-introduction","Constraint Programming - Practical Introduction","","Tutorial material on constraint programming with a practical introduction, structured around core concepts, real CP applications, and an integrated CP suite. It explains different types of constraints, then focuses on constraint propagation and backtrack search as key mechanisms for solving problems. The session motivates CP through classic modeling tasks, including matching and optimization formulations, and demonstrates how to translate problem requirements into constraint-based decision variables and objective functions.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/constraint-programming-practical-introduction/504954/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/constraint-programming-practical-introduction/504954.png","ImageObject",300,407,{"name":42,"@type":43},"pop out","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-10","2026-10-04",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem types does the tutorial use to introduce constraint programming?","Question",{"text":63,"@type":64},"It motivates constraint programming with a matching problem and then discusses optimization problems such as potion production under ingredient limits.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How are optimization problems modeled in the tutorial example?",{"text":68,"@type":64},"It defines decision variables for the number of love and youth potions, sets an objective to maximize total benefit, and expresses ingredient limits as linear constraints.",{"name":70,"@type":61,"acceptedAnswer":71},"What are the main solving techniques emphasized after modeling constraints?",{"text":72,"@type":64},"The tutorial highlights constraint propagation and backtrack search as central methods to find solutions consistent with the constraints.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},504954,1791488263,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":146,"preview_urls":147},962090760408,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Constraint Programming – Practical Introduction –  \nChristophe Lecoutre  \nCRIL-CNRS UMR 8188  \nUniversit´e d’Artois Lens, France  \nTutorial at PFIA’25 – June 2025  \nOutline  \n1 Introduction to CP  \n2 CP Applications  \n3 Integrated CP Suite  \n4 Types of Constraints  \n5 Constraint Propagation  \n6 Backtrack Search  \n7 Conclusion  \nOutline  \n1 Introduction to CP  \n2 CP Applications  \n3 Integrated CP Suite  \n4 Types of Constraints  \n5 Constraint Propagation  \n6 Backtrack Search  \n7 Conclusion  \nConstraint Programming  \nis about modeling and solving  \nProblems under Constraints  \n(images by John Slaney from the G12 Visualisation Project)  \nCertainly, the first Problem you Solved!  \nThis is a matching problem !  \nCertainly, the first Problem you Solved!  \nThis is a matching problem !  \nQuite often, you face Optimization Problems!  \nA witch can elaborate two kinds of magic potions:  \n• the former for inspiring love  \n• the latter for restoring youth  \nTheses potions are composed of dribble of toads (Ut ), wings of dragons (Ud ) and powder of spiders (Us ), with the following proportions:  \n• 1 potion for love requires 3 Ut , 1 Ud and 1 Us  \n• 1 potion for youth requires 2 Ut , 3 Ud and 2 Us  \nQuite often, you face Optimization Problems!  \nA witch can elaborate two kinds of magic potions:  \n• the former for inspiring love  \n• the latter for restoring youth  \nTheses potions are composed of dribble of toads (Ut ), wings of dragons (Ud ) and powder of spiders (Us ), with the following proportions:  \n• 1 potion for love requires 3 Ut , 1 Ud and 1 Us  \n• 1 potion for youth requires 2 Ut , 3 Ud and 2 Us  \nQuite Often, Optimization Problems!  \nThe witch possesses 800 Ut , 700 Ud and 400 Us . Selling magic potions brings in:  \n• 4 crowns for each love potion  \n• 5 crowns for each youth potion  \nConsidering her available ingredients, how many love potions (x) and youth potions (y) should be prepared by the witch in order to optimize her benefit?  \nMaximize : 4x + 5y  \n􀀸  \nsuch that: 􀀼􀀺  \n3x + 2y ≤ 800 x + 3y ≤ 700  \nx + 2y ≤ 400  \nQuite Often, Optimization Problems!  \nThe witch possesses 800 Ut , 700 Ud and 400 Us . Selling magic potions brings in:  \n• 4 crowns for each love potion  \n• 5 crowns for each youth potion  \nConsidering her available ingredients, how many love potions (x) and youth potions (y) should be prepared by the witch in order to optimize her benefit?  \nMaximize : 4x + 5y  \n􀀸  \nsuch that: 􀀼􀀺  \n3x + 2y ≤ 800 x + 3y ≤ 700  \nx + 2y ≤ 400","cbCaigRAq2nhvHl0","https://ap.wps.com/l/cbCaigRAq2nhvHl0","pdf",5868040,151,"English","# Outline\n## Introduction to CP\n## CP Applications\n## Integrated CP Suite\n## Types of Constraints\n## Constraint Propagation\n## Backtrack Search\n## Conclusion","[{\"question\":\"What problem types does the tutorial use to introduce constraint programming?\",\"answer\":\"It motivates constraint programming with a matching problem and then discusses optimization problems such as potion production under ingredient limits.\"},{\"question\":\"How are optimization problems modeled in the tutorial example?\",\"answer\":\"It defines decision variables for the number of love and youth potions, sets an objective to maximize total benefit, and expresses ingredient limits as linear constraints.\"},{\"question\":\"What are the main solving techniques emphasized after modeling constraints?\",\"answer\":\"The tutorial highlights constraint propagation and backtrack search as central methods to find solutions consistent with the constraints.\"}]","Constraint Programming - Practical Introduction | PDF",1791080803,381,16,[148,152,155,159,163,167,170,174,178,182,185,190,195,200,204,209],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/eeffb3167be37ba53402e82e82aa92d5.webp",983,736,{"page_no":26,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d6dcef2b4fc7ef93b077b4a2bc0b5f6c.webp",982,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/909860c5a62a6bbf93ff78bad57b0c09.webp",981,735,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/369302987a9589e415a62d84294bd153.webp",980,734,{"page_no":97,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/44e09ece9a13c4587115db87b893534d.webp",979,733,{"page_no":55,"url":168,"width":169,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c3e9b3a2f05770f68b5c1003a3ba0345.webp",978,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/953725af24b9887721a6ee1e311bbf83.webp",977,732,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d4bb6f5a493245914e118c8a78facb36.webp",976,731,{"page_no":115,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/639bcb6597f57fdd864bde26ee7d03bf.webp",975,730,{"page_no":123,"url":183,"width":184,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/eb104dd25de170b9525d968e3b134229.webp",974,{"page_no":186,"url":187,"width":188,"height":189},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/99c0f6e75d96bdbcd71ff34972a28af4.webp",973,729,{"page_no":191,"url":192,"width":193,"height":194},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c051177b2b8d48ecfa8d3615f03a0f33.webp",972,728,{"page_no":196,"url":197,"width":198,"height":199},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d6921d313a22cced19093b6dc6e09bba.webp",971,727,{"page_no":201,"url":202,"width":203,"height":199},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a4fb8fa41d2f91b4fc6651926ade7ace.webp",970,{"page_no":205,"url":206,"width":207,"height":208},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/149a0156e5c1fe5abdca51b6172e3cc1.webp",969,726,{"page_no":146,"url":210,"width":211,"height":212},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e1a1ac2704cd1f60be9cf945766b55fb.webp",968,725,{"list":214,"token":11},[215,221,227,233,240,246,252,258,264,271],{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":191,"category_name":29,"create_tm":220},451764,"Constraint Solving and Planning with Picat","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925103740/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=eyrc%2FPurO8iRBiW%2BwcIBsp13Bvo%3D","constraint-solving-and-planning-with-picat",1790735882,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":201,"category_name":29,"create_tm":226},504881,"A User’s Guide to Picat - Version 3.9 - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931950051/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=PSOsZmAbppU88iKkxsFx0YMpuqk%3D","a-users-guide-to-picat-version-39-overview",1791077220,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":205,"category_name":29,"create_tm":232},509502,"A MiniZinc Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229934850302/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=%2FDcvcEJdI6rnUkNX57wDPiIYMy4%3D","a-minizinc-tutorial",1791236074,{"doc_id":234,"doc_title":235,"file_type":137,"home_preview_img_url":236,"slug":237,"view_count":238,"category_name":29,"create_tm":239},649052,"SolidWorks 99 Tutorial - Mastering the Basics - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972350567/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=kuRAyl%2Foo1RZMmr7nGFgOC09BBw%3D","solidworks-99-tutorial-mastering-the-basics-getting-started",18,1792796909,{"doc_id":241,"doc_title":242,"file_type":137,"home_preview_img_url":243,"slug":244,"view_count":238,"category_name":29,"create_tm":245},451730,"Learning Programming in Picat by Examples from Google Code Jam - Article Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924951652/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=Co%2BlDKfSiRbU7C6MknvC3Tx7B9k%3D","learning-programming-in-picat-by-examples-from-google-code-jam-article-introduction",1790735827,{"doc_id":247,"doc_title":248,"file_type":137,"home_preview_img_url":249,"slug":250,"view_count":127,"category_name":29,"create_tm":251},137728,"Jinx Tutorial - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229863058740/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=6uetzStQ06OEClZ8pkSOtBhs6vc%3D","jinx-tutorial-getting-started",1787439582,{"doc_id":253,"doc_title":254,"file_type":137,"home_preview_img_url":255,"slug":256,"view_count":205,"category_name":29,"create_tm":257},347394,"C Programming Language - 2nd Edition (OCR) - Chapter Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911501529/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=ZNxRK0yCDoF9VKnscmFcA%2Bw3z7w%3D","c-programming-language-2nd-edition-ocr-chapter-outline",1790066766,{"doc_id":259,"doc_title":260,"file_type":137,"home_preview_img_url":261,"slug":262,"view_count":238,"category_name":29,"create_tm":263},148794,"Solving Seismic Wave Equations with Astaroth library - Abstract and Technical Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869074613/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=%2B9brpYnEqyz2djpHsXhAKh9LLVo%3D","solving-seismic-wave-equations-with-astaroth-library-abstract-and-technical-overview",1787786189,{"doc_id":265,"doc_title":266,"file_type":137,"home_preview_img_url":267,"slug":268,"view_count":269,"category_name":29,"create_tm":270},128227,"Machine Learning with Heuristic Search-based Hybrid Framework for Cycle Time Optimization in Semiconductor Production - Paper metadata","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839610279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=x6IuL2URAMRBaNMQj2da%2Bu%2FY3oI%3D","machine-learning-with-heuristic-search-based-hybrid-framework-for-cycle-time-optimization-in-semiconductor-production-paper-metadata",26,1785945844,{"doc_id":272,"doc_title":273,"file_type":137,"home_preview_img_url":274,"slug":275,"view_count":110,"category_name":29,"create_tm":276},692233,"Hands-on Python Tutorial - Release 2.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011223/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796119739&Signature=kVzc1JPkqGR%2B1ZcSo5DkmoRNscQ%3D","hands-on-python-tutorial-release-20",1794186384]