User charles bailey - MathOverflowmost recent 30 from http://mathoverflow.net2013-05-22T19:21:58Zhttp://mathoverflow.net/feeds/user/19481http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/94992/p-version-of-subset-sum#P version of SUBSET SUMCharles Bailey2012-04-24T02:22:29Z2012-05-22T22:22:01Z
<p>The decision version of the SUBSET SUM problem asks the following: Given a set of integers $S =$ {$a_1, ..., a_n$}, is there a subset $S'$ of $S$ such that the sum of the elements in $S'$ is equal to zero. This problem is NP-complete.</p>
<p>The corresponding #P problem asks HOW MANY subsets of $S$ sum to zero. </p>
<p>Does anyone know of a pseudo-polynomial time algorithm for solving this enumeration version of the problem? It seems that it would have to be polynomial in the number of elements in S, the size of the elements in S, and the number of subsets that sum to zero. Beyond that, I don't know what the algorithm would look like. Perhaps a simple dynamic programming solution exists, but I'm not sure what it is.</p>
<p>Thanks,
Charles</p>
http://mathoverflow.net/questions/90927/shortest-absolute-value-of-path-in-graphShortest absolute value of path in graphCharles Bailey2012-03-11T19:45:14Z2012-03-12T04:10:40Z
<p>Suppose we have a weighted, acyclic digraph, with positive and negative edge weights.</p>
<p>Is there an algorithm that determines whether there is a path of weight zero between vertices A and B? The Bellman-Form algorithm finds the path of smallest weight - is there another algorithm that determines the path of smallest absolute value weight?</p>
<p>Thanks,
Charles</p>
http://mathoverflow.net/questions/81741/approximate-action-of-unitary-matrix-with-permutation-matrixApproximate action of unitary matrix with permutation matrixCharles Bailey2011-11-23T19:13:47Z2011-11-23T20:02:30Z
<p>Given a unitary matrix Q and a symmetric matrix B, I am trying to find a permutation matrix P such that </p>
<p>$ || QBQ^{T} - PBP^{T} ||_{F} $ </p>
<p>is minimized. </p>
<p>The straightforward method of minimizing $ || Q - P ||_{F} $ does not work. </p>
<p>I was wondering if there would be some way to orthogonally project the orbit of B under conjugation by unitary matrices onto the orbit of B under conjugation by permutation matrices. I don't know precisely how that would work though. </p>
<p>Does anyone have any suggestions? </p>
<p>Thanks,</p>
<p>Charles</p>
<p>Edit:</p>
<p>An example that shows that minimizing $||Q-P||_{F}$ does not work is as follows:</p>
<p>B = \begin{array}{cc}
0 & 1 & 1 & 1 \newline
1 & 0 & 0 & 0 \newline
1 & 0 & 0 & 0 \newline
1 & 0 & 0 & 0 \newline
\end{array}</p>
<p>Q =<br>
\begin{array}{rr}
-0.6544 & -0.6544 & 0.1585 & 0.3440 \newline
-0.0473 & -0.0473 & -0.9624 & 0.2633 \newline
-0.6864 & 0.3136 & -0.1561 & -0.6373 \newline
0.3136 & -0.6864 & -0.1561 & -0.6373 \newline
\end{array}</p>
<p>$P_{1}$ =
\begin{array}{rr}
0 & 0 & 1& 0 \newline
0 & 0 & 0 & 1 \newline
0 & 1 & 0 & 0 \newline
1 & 0 & 0 & 0 \newline
\end{array}</p>
<p>$P_{2}$ =
\begin{array}{rr}
1& 0& 0 & 0\newline
0 & 0 & 1 & 0\newline
0 & 1 & 0 & 0\newline
0 & 0 & 0 & 1\newline
\end{array}</p>
<p>With these matrices,</p>
<p>\begin{align}
|| Q - P_{1} || &< || Q - P_{2} ||
\end{align}</p>
<p>but
\begin{align}
|| QBQ^{T} - P_{1}BP_{1}^{T} || &> || QBQ^{T} - P_{2}BP_{1}^{T} ||
\end{align}</p>
http://mathoverflow.net/questions/94992/p-version-of-subset-sumComment by Charles BaileyCharles Bailey2012-04-24T19:05:09Z2012-04-24T19:05:09ZBy size of the element, I mean their absolute values. - Charleshttp://mathoverflow.net/questions/90927/shortest-absolute-value-of-path-in-graphComment by Charles BaileyCharles Bailey2012-03-12T02:55:07Z2012-03-12T02:55:07ZYes, it's a finite graph, so exhaustive search would work. I'm looking for something more efficient.
Thanks,
Charleshttp://mathoverflow.net/questions/90927/shortest-absolute-value-of-path-in-graphComment by Charles BaileyCharles Bailey2012-03-11T20:23:43Z2012-03-11T20:23:43ZThe weights are integers in the interval [-c,c] for some integer constant c.http://mathoverflow.net/questions/81741/approximate-action-of-unitary-matrix-with-permutation-matrixComment by Charles BaileyCharles Bailey2011-11-24T01:28:59Z2011-11-24T01:28:59ZI apologize for not being clear in my edit. P1 is a minimizer of $||Q - P||$ and P2 is a minimizer of $||QBQ^{T} - PBP^{T}||$.
I say "a minimizer" because there are multiple minimizers, but choosing a different representative does not necessarily make P1 behave as desired.http://mathoverflow.net/questions/81741/approximate-action-of-unitary-matrix-with-permutation-matrixComment by Charles BaileyCharles Bailey2011-11-23T20:36:11Z2011-11-23T20:36:11ZI have included a counterexample in the edit to my question. Thanks for your help.