CSC5240 Combinatorial Search and Optimization with Constraints

Slides:



Advertisements
Similar presentations
Final Year Project Workshop on Presentations 1 How to Give a Presentation -Why At several points in your degree course, you will have to give a presentation.
Advertisements

Digital Systems 1Digital Systems Research Presentation.
Writing Skills Improvement Guide Dr. Zubair A. Baig Computer Engineering Department KFUPM, Dhahran.
1 Refining the Basic Constraint Propagation Algorithm Christian Bessière and Jean-Charles Régin Presented by Sricharan Modali.
Some Guidelines on How to Deliver a Good Presentation Dr. Aiman El-Maleh King Fahd University of Petroleum & Minerals Computer Engineering Department COE.
How to present your project?. A simple 3-part template A.Introduction B.Body C.Conclusion.
Module 9 How to give a good research talk. What’s inside How to give a good research talk How to present a paper, a speaker’s guide.
Pointer and Shape Analysis Seminar Mooly Sagiv Schriber 317 Office Hours Thursday
1 A Seminar on Memory Management Mooly Sagiv Schriber 317 Office Hours Wed
Global Constraints for Lexicographic Orderings Alan Frisch, Ian Miguel (University of York) Brahim Hnich, Toby Walsh (4C) Zeynep Kiziltan (Uppsala University)
The Conference on Nuclear Training and Education Presentation Title Author List Affiliations February, 2007 Jacksonville, Florida Space for your company.
CHAPTER 4 Engineering Communication
Click to edit Master title style Technical Presentations Randy Beard & David Long Department of Electrical and Computer Engineering Brigham Young University.
1 Good Presentation Guidelines Husni Al-Muhtaseb King Fahd University of Petroleum & Minerals Information & Computer Science department ICS 350/ 351/
By May. Top tips for writing feature articles A feature story differs from a straight news story in one respect – its intent. A news story provides information.
ITCS 6265 Details on Project & Paper Presentation.
4-2 CHAPTER 4 Engineering Communication © 2011 Cengage Learning Engineering. All Rights Reserved.
1 How to Present a Paper Jun Dong Cho, Sungkyunkwan University Jun Dong Cho, Sungkyunkwan University03/31/2007.
INFOMGP Student names and numbers Papers’ references Title.
Guidelines for Project Presentation Mei-Chen Yeh 04/03/2012.
An Introduction to Constraint Programming in JChoco.
Optimized SAT Encoding For Sudoku Puzzles Will Klieber and Gi-Hwon Kwon Sept 27, 2007 rev. 2 Changes from v1: Added a new slide after “A Better Encoding.
IR 502 RESEARCH METHODS How to do a presentation.
ABSTRACT This is the template for preparing posters for the Electrical Safety Workshop (ESW). It is intended to define the required format for printing.
ASSET Independent Research Slide Presentation Template (replace this title with the title of your work!) Authors’ names, affiliations, funding sources,
CS 664 Sample Presentation
Writing a Critical Summary of an Article or Paper
Giving Technical Talks
Create A Title Slide To Introduce
Technical & Research Posters: Text, Visuals, & Presentation
CSC 221: Computer Programming I Spring 2010
Guidelines for Oral Presentation
How to Present a Seminar Paper: A Speaker’s Guide
To present a paper method (technology) how to present it
Author List Affiliations February, 2007 Jacksonville, Florida
Welcome to IT 516! Data Structures & Algorithms Review of Linked Lists Parallel ordered arrays Binary Search Trees Tom Becker Summerr 2018 Lecture 7.
Author List Affiliations February, 2007 Jacksonville, Florida
Create A Title Slide To Introduce
Author List Affiliations February, 2007 Jacksonville, Florida
Completing the tasks for A452 with….
Series of Paragraphs Expressing an Opinion
Introduction to Engineering Oral Presentation Details
Giving instructions on how to do something
Academic Communication Lesson 3
Lean Six Sigma Project Name: Project: Date: Intros Expecations
Programming Language Seminar
Introduction to Relational Databases
Group Assignment and Individual Presentation
Create A Title Slide To Introduce
Effective Presentation
Chapter Four Engineering Communication
Some Guidelines on How to Deliver a Good Presentation
Advanced consistency methods Chapter 8
Research Methods Technical Writing Thesis Report Writing
Practical Session 8, Memory Management 2
Chapter Four Engineering Communication
Principles of business
COMP 208/214/215/216 – Lecture 5 Presentation Skills 恭喜發財.
Chapter Four Engineering Communication
Geant4 Documentation Geant4 Workshop 4 October 2002 Dennis Wright
Oral Presentations, Scott Umbaugh
Trevor Brown DC 2338, Office hour M3-4pm
CS 6640 Sample Presentation
Simplex method (algebraic interpretation)
Talking About Writing Notes
Chapter 19: Presenting a paper
Practical Session 9, Memory Management continues
Preparing Written Reports
Series of Paragraphs.
Pathfinder Instructor’s Award
Presentation transcript:

CSC5240 Combinatorial Search and Optimization with Constraints Tutorial Notes 7

CSC5240 Tutorial 7 Global Constraints in ILOG Paper Presentation Project Proposal

Global Constraints Often-seen sub-problems (complex constraints) in modeling with specific AC-revise() procedure ILOG provides a number of global constraints : IloAllDiff IloDistribute IloSequence IloAllMinDistance IloPartition IloAllNullIntersect IloEqUnion …

IloAllDiff Restrict each value to appear at most once among the variables. 1 2 3

IloAllDiff Restrict each value to appear at most once among the variables. 3 2 3

IloDistribute Often called “cardinality constraints” or “global cardinality constraints” (gcc) Used to restrict the number of occurrences of each value among the variables. Special Case: AllDiff constraint The number of occurrences of each value is 1

IloDistribute How about restricting each value to appear within a range of number of times? E.g. Given variables x, y, z D(x) = D(y) = D(z) = {1,2,3} Among x, y, z, we want to have - value 1 to appear [1,2] times - value 2 to appear [0,1] times - value 3 to appear [0,3] times Is the following assignment correct? 1 1 2

IloDistribute E.g. Given variables x, y, z D(x) = D(y) = D(z) = {1,2,3} Among x, y, z, we want to have - value 1 to appear [1,2] times - value 2 to appear [0,1] times - value 3 to appear [0,3] times Is the following assignment correct? 3 3 3

IloDistribute IloDistribute is used to count the number of variables that takes a given value in an array. cards – An array storing the occurrence range for each value [1..2], [3..4], [0..5] values – an array of values vars – an array storing the variables IloDistribute(IloEnv env, IloIntVarArray cards, IloNumArray values, IloNumVarArray vars); 1 2 3

IloDistribute The arrays cards and values must be of the same length. For each i, cards[i] is equal to the number of occurrences of values[i] in the array vars. IloDistribute(IloEnv env, IloIntVarArray cards, IloNumArray values, IloNumVarArray vars);

IloDistribute e.g. the value stored in values[2] should occur in the array vars 3 to 5 times. cards[2] = IloIntVar(env, 3, 5); e.g. the value stored in values[3] should occur in the array vars at most twice. cards[3] = IloIntVar(env, 0, 2); IloDistribute(IloEnv env, IloIntVarArray cards, IloNumArray values, IloNumVarArray vars);

Example: BIBD Recall the BIBD problem in Tutorial 1, Assignment 1/2. Incidence matrix: A v by b binary matrix Exactly r ones per row Exactly k ones per column A scalar product of lambda between any pair of distinct rows

Model Use IloDistribute !

Using global constraints However, if you just post those global constraints, ILOG may not call their specific AC-revise() methods E.g. ILOG will use a set of disequalities to replace IloAllDiff() If you really have to enforce hyper-arc consistency on those global constraints, set the filter level to the extended level ... model.add(IloAllDiff(env, x)); solver.setDefaultFilterLevel(IloAllDiffCt, IloExtendedLevel);

Demonstration Click here to open the code!

Presentation Communicate key ideas Don’t get bogged down in details Use a top-down approach Introduction Body Technicalities Conclusion

Top-down Approach Introduction Body Motivate the audience Define the problem Discuss earlier work Emphasize the contributions Body Delineate major results Explain the significance of the results

Top-down Approach Technicalities Conclusion Present the key theorem / result / overview of the implementation Show and explain the experimental results, if any Try to be as succinct and clear as possible Conclusion Weave earlier statements into a coherent synopsis State open problems Indicate that your talk is over

Some Guidelines Remind, don’t assume Don’t over-run Maintain eye contact, control your voice and motion Don’t overload a single slide with too much information Use colours and fonts effectively Use pictures, tables, and examples Prefer words over symbols, and pictures over words

Questions and Answers Prepare additional slides to anticipate questions on confusing technicalities Some questions are intended to see how you react to criticism under pressure Be prepared, be polite, avoid getting involved in a lengthy exchange Don’t confuse “I don’t know” with “it is not known”

Several deadlines Assignment 2 deadline: 10 Nov., 2009 Paper presentation: 19 Nov., 2009 (Lecture time) 21 Nov., 2009 (Saturday morning) You have to email your project proposal with 2 - 4 pages to Jimmy on or before 20 Nov. (Friday) Project Presentation: 18 Dec., 2009

END