Reduction: ZOE → Subset Sum

ZOE:

Given AA, find x\vec{x} consisting of 0-1 entries that

Ax=1A\vec{x} = \vec{1}

Subset Sum:

Reduction with two special cases of ILP:

We’re looking for a set of columns of AA that added together can make up a vector of all 1s.

A=[10000001011010000100]A = \begin{bmatrix} 1 &0 &0 &0 \\ 0 &0 &0 &1 \\ 0 &1 &1 &0 \\ 1 &0 &0 &0 \\ 0 &1 &0 &0 \end{bmatrix}

Think columns as binary integers (from top to bottom), we’re looking for a subset of the inegers 100102=18,001012=5,001002=4,010002=810010_2 = 18, 00101_2 = 5, 00100_2 = 4, 01000_2 = 8 that add up to 111112=3111111_2 = 31.

But one thing spoils the connection between 0-1 vectors and binary integers: CARRY.