Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented by Dajiang Zhu 11/1/2011.  Introduction of Markov chains Definition One example  Two problems as examples 2-SAT Algorithm (simply introduce.

Similar presentations


Presentation on theme: "Presented by Dajiang Zhu 11/1/2011.  Introduction of Markov chains Definition One example  Two problems as examples 2-SAT Algorithm (simply introduce."— Presentation transcript:

1 Presented by Dajiang Zhu 11/1/2011

2  Introduction of Markov chains Definition One example  Two problems as examples 2-SAT Algorithm (simply introduce random walks) 3-SAT Algorithm

3

4

5

6

7

8

9 1 3 02 1/4 1/2 1/6 1/3 1/4 3/4 1 1/4

10

11

12

13

14

15

16  Random walk A fandom walk on G is a Markov chain defined by the movement of a particle between vertices of G. In this process, the place of the particle at a given time step is the state of the system. If the particle is at vertex i, and i has d(i) outgoing edges, then the probability that the particle follows the edge(i, j) and moves to a neighbor j is 1/d(i). http://vlab.infotech.monash.edu.au/simulations/swarms/random-walk/

17

18

19

20

21

22

23  3-SAT Algorithm 1. Start with an arbitrary truth assignment. 2. Repeat the clauses are satisfied: (a) Choose an arbitrary clause that is not satisfied. (b) Choose one of the literals uniformly at random, and change the value of the variable in the current truth assignment.

24

25

26  Two key observations: 1. If we choose an initial truth assignment uniformly at random, the number of variables that match S has a binomial distribution with expectation n/2. 2. Once the algorithm starts, it is more likely to move toward 0 than toward n. The longer we run the process, the more likely it has moved toward 0. Therefore we are better off re- starting the process with many randomly chosen initial assignments and running the process each time for a small number of steps, rather than running the process for many steps on the same initial assignment.

27  Modified 3-SAT Algorithm 1. Repeat until all clauses are satisfied: (a) Start with a truth assignment chosen uniformly at random. (b) Repeat the following up to 3n times terminating if a satisfying assignment is found. i) Choose an arbitrary clause that is not satisfied. ii) Choose one of the literals uniformly at random, and change the value of the variable in the current truth assignment.

28  How many times the process needs to restart before it reaches a satisfying assignment?

29

30

31

32

33

34  Questions? Thanks!


Download ppt "Presented by Dajiang Zhu 11/1/2011.  Introduction of Markov chains Definition One example  Two problems as examples 2-SAT Algorithm (simply introduce."

Similar presentations


Ads by Google