306_Logical_constraints

306_Logical_constraints - B and C happen If A happens then...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Modeling Logical Conditions with Binary Variables A, B, C are binary variables indicating if events A, B, C happen. Part I: Basic (two events A and B) A and B do not happen at the same time ( A and B are mutually exclusive): If A happens, then B happens ( A is conditional on B ): If A happens, then B does not happen: (same as A + B < 1) A happens if and only if B happens ( A is a co-requisite for B ): A = B A happens if and only if B does not happen: (same as A+B=1) At most one of A and B happens: At least one of A and B happens ( A or B happens): Extended: (more-than-two events A, B and C) If A or B happens, then C happens: , If A or B happens, then C does not happen: , (or A + C < 1, B + C < 1) If A happens, then both
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: B and C happen: , If A happens, then B or C happens: If A does not happen, then both B and C happen: , If A does not happen, then B or C happens: If A does not happen, then neither B nor C happens: 1 , (same as , ) Part II: The key ingredients of logic modeling Five Golden Rules 1. If A then B or C 2. If A then B and C Rewrite as: (If A then B) and (If A then C) , 3. If A or B then C Rewrite as: (If A then C) and (If B then C) , 4. If A and B then C 5. “A does not happen” or “not A” is modeled using 1 – A . * Read page 84-86 in our textbook and learn how to model logical constraints. 2...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern