令为一组自然数。我们认为可分偏序下,即。让
的反链。
如果考虑数字的多重集在的子集和问题,那么与有关的问题的复杂性又能怎么说呢?很容易看出,那么问题就很容易。注意,当时,即使是较难的背包问题也很容易。
令为一组自然数。我们认为可分偏序下,即。让
的反链。
如果考虑数字的多重集在的子集和问题,那么与有关的问题的复杂性又能怎么说呢?很容易看出,那么问题就很容易。注意,当时,即使是较难的背包问题也很容易。
Answers:
This problem can be solved in polynomial time using linear programming, and this is actually true for any partial order . By the way, we can prove by induction that for any finite partial order set , there exists a finite set and a bijection , such that for all .
Let be the set formed by the chains in . Remind that is a chain iff for all in , or
and its dual :
Then the problem of finding the minimum cover of an ordered set by chains is the dual of our problem. Dilworth's theorem states that
There exists an antichain A, and a partition of the order into a family P of chains, such that the number of chains in the partition equals the cardinality of A
which means that the optimal solution of these two problems match :
Let (resp. ) be the relaxation of (resp. ) i.e. the same linear program where all constraints (resp. ) are replaced by (resp. ). Let and be their optimal solutions. Since we have :
Then, using Ellipsoid method, we can compute ( ) in polynomial time. There are an exponential number of constraints but there exists a polynomial time separation oracle. Indeed given a solution , we can enumerate all couples and check if or , and therefore decide in polynomial time whether is feasible or otherwise the constraint associated to the chain is violated.