As of March 2010 this strategy has been deprecated. Although useful too look out for in pen and paper solving it is a strict subset of several chaining strategies and therefore has been removed from the solver. The documentation will remain on this site

I've named this strategy Multivalue because we're dealing with several candidate values but the formation is exactly as an X-Wing, infact it also follows the generalised x-wing as described above.

I've named this strategy Multivalue because we're dealing with several candidate values but the formation is exactly as an X-Wing, infact it also follows the generalised x-wing as described above.

Take a look at this rectangular formation made from the yellow and brown cells. Connecting the two yellow cells is a conjugate pair of 6, the only two sixes in the row. In the other row connecting the two brown cells is a conjugate pair of 5. What connects the cells in the columns are the additional candidates, in this case 1 in column 1 and 9 in column 9. Note that there are additional 1's and 9's in these columns. These are the candidates we can eliminate and they are highighted in green cells.

The logic goes as follows: 6 must occur in one of the two yellow cells and the 5 must occur in one of the brown cells. No doubt about that. But both 6 and 5 cannot occur in the same column. Lets pretend they do, say 6 and 5 in column 1. That would leave 9 as the only solution in two cells in column 9. Can't have that. So which ever way round 6 is 5 will be in the opposite column.

The logic goes as follows: 6 must occur in one of the two yellow cells and the 5 must occur in one of the brown cells. No doubt about that. But both 6 and 5 cannot occur in the same column. Lets pretend they do, say 6 and 5 in column 1. That would leave 9 as the only solution in two cells in column 9. Can't have that. So which ever way round 6 is 5 will be in the opposite column.

This forces the 1 and 9 to fill the remaining two corners. If 1 and 9 are guaranteed to be in either a yellow or a brown cell apiece then we can't have any more 1s and 9s in those columns. Hence the eliminations.

The generalised X-Wing theory says that we can have a distorted X-Wing starting from 2 boxes and eliminating in 2 rows or 2 columns. This next example does just that. We have a strong link between the yellow cells (B7 and H7) using 5. And another strong link between brown cells (A9 and J9). Since the top pair share a box and the bottom pair also share a box we don't need exact row alignment.

Using the arguement above we know that one 5 or 3 will occur in B7 or A9 forcing the other cell in the top right box to be a 2. We don't know which yet, but of those two cells will be a 2 so all the others in the box can go.

Likewise, a 5 or a 3 will appear one of the cells int the bottom box, H7 or A9. That forces 4 to be the solution to that pair - we just don't know which way round yet. The 4 in H8 can go.

Using the arguement above we know that one 5 or 3 will occur in B7 or A9 forcing the other cell in the top right box to be a 2. We don't know which yet, but of those two cells will be a 2 so all the others in the box can go.

Likewise, a 5 or a 3 will appear one of the cells int the bottom box, H7 or A9. That forces 4 to be the solution to that pair - we just don't know which way round yet. The 4 in H8 can go.

Eliminations such as these can be achieved using Nice Loops and other very advanced strategies but this is well worth looking out for separetely since its both easier to spot and extends the elegance of the familiar X-Wing.

## Comments

## ... by: Riki

## ... by: Sherman

David Eppstein calls these bivalue graphs and extends them to more than four cells. See his paper "Nonrepetitive Paths and Cycles in Graphs with Application to Sudoku" from 2005 in http://arxiv.org/abs/cs.DS/0507053. Peter Gordon references this in his book "Mensa Guide to Solving Sudoku", pages 80-84. Paul Stephens calls these forcing loops in his book "Mastering Sudoku Week by Week", pages 118-124.

Bivalue graphs are subsets of more general chaining strategies, but since they are based upon bivalue cells, they are easy to spot.

BTW, I much prefer your book "The Logic of Sudoku" over Gordon's and Stephens' books!

I hadn't seen that paper, very interesting, thanks for the tip.

Glad you liked the book!

Andrew

- [Del]

## ... by: David P Bird

## ... by: p davis

## ... by: Steve