{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "P0XFYRE9P2"
    }
  ],
  "body": "\n## Summary\n\nThe indirect method by shooting solves an [[optimal control|T3V6ZNAMDN]] problem by first writing the necessary conditions of [[Pontryagin's maximum principle|7RPV2T29CF]] and then solving them numerically.\nThese conditions form a two-point [[boundary value problem|TM8VQJWGHZ]] for the state and the costate.\nThe unknown initial costate is found by the [[shooting method|ECT6RNF865]]: one integrates forward from a guess and corrects the guess until the final conditions hold.\nThe method is very accurate near a good guess, and it is the main alternative to direct methods such as [[direct collocation|T58W34D60G]].\n\n## Explanations\n\n### L1 human\n\nThe maximum principle tells you what an optimal trajectory looks like, except for a few unknown numbers at the start.\nIf you knew the initial costate, you could integrate the equations forward and get the whole optimal path.\nSo you guess it, integrate, measure how far you miss the required final state, and adjust the guess, as when aiming a cannon.\nFor instance, take $x' = u$ from $0$ to $1$ in unit time at least cost $\\int u^2 / 2$.\nThe conditions say $u$ is a constant $p$, and shooting finds $p = 1$ after one Newton step.\nThe hard part in practice is that the miss can depend very sensitively on the guess.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "49M05",
      "65L10",
      "49K15"
    ],
    "name": "Indirect method by shooting",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Shooting_method"
      }
    ],
    "specializes": [
      "ECT6RNF865"
    ],
    "tag": "RDTESNZTKQ"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/RDTESNZTKQ/",
  "links": [
    {
      "field": "specializes",
      "target": "ECT6RNF865"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/RDTESNZTKQ.md",
  "msc": [
    "49M05",
    "65L10",
    "49K15"
  ],
  "name": "Indirect method by shooting",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/RDT/RDTESNZTKQ.md",
  "status": null,
  "tag": "RDTESNZTKQ",
  "uri": "m2://RDTESNZTKQ",
  "url": "https://tamnd.github.io/math2/wiki/indirect-method-by-shooting/",
  "writing": {
    "tag": "RDTESNZTKQ",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
