It was shown by Fiorini et al. (https://arxiv.org/abs/2106.05947) that

is solvable in strongly polynomial time if is totally -modular and contains at most two nonzero entries in each row or in each column. This result assumes is fixed, and the worst-case complexity blows up as increases. They do not provide a worst-case complexity simply stating that for fixed it is polynomial time which depends on , but the degree is enormous with no specific exponent provided. For that reason, it may be best to stick to Artmann et al.’s case which has a more reasonable exponent (I believe it is degree 4. They make use of Seymour decomposition theorem).

The MSFN is of the form

However, the only crucial component for determining the vertices of the polytope is and if on a pseudometric satisfies the requirements for Fiorini et al. Can we perhaps encode the problem in a different way to get it in the correct form while preserving totally -modularity and at most two nonzero entries per row?

We can capture by introducing variable with constraints

and the objective terms to

Indeed, if then and the cost is . If , then and the cost is .

For row of , let and be the two non-zero positions with coefficients . Then it follows that

which implies that

A classic trick to encode is by adding :

and swapping with in the objective.

At this point, our problem looks like

While this preserves totally -modular, we now have three non-zero entries per row.

Define such that corresponds to the entries and corresponds to the entries (if they exist, otherwise the row is just zero). Then we can split up as follows:

Claim: and is equivalent to:

Proof. Adding the first two constraints gives us . Likewise, adding constraints 4 and 5 gives us . Through minimization, we get that

Thus, and act identical to and . Thus, we get that

Assuming everything is correct, the new ILP is given by

Therefore, the constraints in matrix form looks like

which satisfies the conditions by Fiorini et al. as long as the boundary matrix does. Moreover, this matrix is (strictly) totally -modular if and only if is (strictly) totally -modular. The objective vector is given by

Lemma: Let be totally -modular with at most two non-zero entries per row and pick a row of with . Build the matrix by the following steps:

  1. Remove row
  2. Add two new columns and
  3. Add three rows: , , and .

It follows that is totally -modular.

Proof. Let be a square submatrix of . Split the rows of into containing rows of that are not , and added rows . We consider four cases on the new columns in .

Case 1 (no new columns are added): If is in , then it follows that there is a zero row implying that . Otherwise, is a submatrix of with potentially or added. Thus, by Lemma 2.2.

Case 2 (only column is added): Column only shows up in and . Clearly, if uses neither rows, then there is a zero column so . Assume only is used. Then we get the submatrix

which can be eliminated by expanding along column giving a submatrix of . We get a simiilar case if only is used. If and are both in , then we get the submatrix

Apply the row operation , which does not alter . Then by expanding along column , we get a submatrix which is simply a submatrix of with inserted along a single row. Thus, by case 1, .

Case 3 (only column is added): Same case as case 2 but with instead of .

Case 4 (both and ): Notice that if contains less than two rows from , then there will be at least one zero column along or giving . We break into cases on which rows are in .

  • : then we have the following submatrix in

By expanding along and we have removed the additions giving a submatrix of .

  • : then we have the following submatrix in

Expanding along column then column to remove the additions gives a submatrix of .

  • : similar argument as .
  • : then we have the following submatrix in

Perform the row operations and to get the new submatrix

Expanding along columns and leaves a submatrix of in which row was negated. Thus, .

Therefore, all cases give .

Claim: If is totally -modular, so is the constraint matrix .

Proof. Starting from , we can build by the following steps:

  1. For each row , create a copy of
  2. For each row apply the above lemma which gives the and blocks. Repeat for each row to get the and blocks.
  3. Add blocks for .
  4. Apply row/column permutations.

All of the above operations preserve totally -modular.

Question: Is strictly totally -modular?

Theorem: Let be a fixed integer. Then there is a strongly polynomial time algorithm for the subset of MSFN instances in which is a pseudomanifold and is totally -modular is solvable in strongly polynomial time.