{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "5FC2T66AQD"
    }
  ],
  "body": "\n## Summary\n\nA totally unimodular matrix is an integer matrix in which every square submatrix has determinant $0$, $1$ or $-1$.\nIn particular every entry is $0$, $1$ or $-1$.\nA linear program whose constraint matrix is totally unimodular and whose right-hand side is integral has integral vertices.\nThis explains why many problems on graphs, such as bipartite matching and network flows, can be solved exactly by linear programming.\n\n## Explanations\n\n### L1 human\n\nLinear programs are easy to solve, but problems that ask for whole-number answers are usually hard.\nFor some special constraint matrices, the two coincide: whenever the right-hand side is whole-number and the linear program has a best solution, it has a best solution in whole numbers.\nTotally unimodular matrices are exactly such special matrices: every square piece of them has determinant $0$, $1$ or $-1$.\nThe incidence matrix of a bipartite graph, with a row for each vertex and a column for each edge, is a standard example.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "15B36",
      "90C10",
      "90C27"
    ],
    "name": "Totally unimodular matrix",
    "sources": [
      {
        "locator": "Total unimodularity",
        "url": "https://en.wikipedia.org/wiki/Unimodular_matrix"
      }
    ],
    "specializes": [
      "0VD9ZSWWJG"
    ],
    "tag": "VSD67A49XC"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/VSD67A49XC/",
  "links": [
    {
      "field": "specializes",
      "target": "0VD9ZSWWJG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/VSD67A49XC.md",
  "msc": [
    "15B36",
    "90C10",
    "90C27"
  ],
  "name": "Totally unimodular matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VSD/VSD67A49XC.md",
  "status": null,
  "tag": "VSD67A49XC",
  "uri": "m2://VSD67A49XC",
  "url": "https://math2.tamnd.com/wiki/totally-unimodular-matrix/",
  "writing": {
    "tag": "VSD67A49XC",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
