Version 04 als eigenes Repository

Erster Commit des Strangs "Optimierte Entscheidungsfindung mit Python"
(Version 04). Die Historie der 71 Commits bis zur Trennung bleibt im
uebergeordneten Repository OR_mit_Python liegen, das ab jetzt nur noch
Version_03 (eingefroren) verwaltet und Version_04/ ignoriert.

Bewusst kein "git subtree split": Der Pfad Version_04/ existiert erst seit
der Verzeichnistrennung, ein Split braechte daher nur 7 der 41 einschlaegigen
Commits - eine Teilhistorie, die vollstaendig aussieht und es nicht ist.

Stand: 5 Teile, 23 Kapitel, 5 Anhaenge, 292 Abschnitte, 703 Querverweise,
325 Indexmarken, 73 Beispielprogramme, 32 SVGs, 4 Plotly-Figuren,
25 Notebooks, PDF mit 715 Seiten.

Zusaetzlich in diesem Commit:

* pyproject.toml mit Abhaengigkeitsgruppen finance, large-scale, api,
  figures, dev, empfehlungen. Die abgedruckte requirements.txt bleibt
  unveraendert daneben bestehen. ortools steht in der Grundausstattung,
  highspy erst in [large-scale] - so kann der HiGHS-Symbolkonflikt bei der
  schlanken Installation gar nicht erst auftreten.

* Dabei zwei Funde: graphviz wird von erzeuge_architektur_diagramme.py
  importiert, fehlt aber in requirements.txt (jetzt in [figures]); pymoo
  steht in requirements.txt, wird aber von keinem Programm importiert,
  sondern nur im Kapitel Metaheuristiken empfohlen (jetzt in
  [empfehlungen]).

* NEUER_TITEL.md nach Kritik_und_Verbesserungsvorschlaege/ verschoben - es
  ist die Vorlage des Titelblatts, kein Bestandteil des Werks. Die beiden
  Fundstellen in PROGRESS.md und erzeuge_titelseite.py nachgezogen.

* PROGRESS.md nannte noch den Untertitel der ersten Fassung; auf den
  tatsaechlichen aus erzeuge_titelseite.py korrigiert.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
dschlueter 2026-09-08 01:20:09 +02:00
commit b7af2f1d9a
468 changed files with 262141 additions and 0 deletions

View file

@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 14.1.2 (20260126.1125)
-->
<!-- Pages: 1 -->
<svg width="990pt" height="408pt"
viewBox="0.00 0.00 990.00 408.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 403.74)">
<text xml:space="preserve" text-anchor="middle" x="490.89" y="-383.39" font-family="DejaVu Sans" font-size="13.00">Welches Werkzeug passt zu meinem Problem? (Teil III)</text>
<!-- g1 -->
<g id="node1" class="node">
<title>g1</title>
<polygon fill="#eef2ff" stroke="#4338ca" stroke-width="1.6" points="510.89,-375.24 395.88,-346.86 510.89,-318.48 625.91,-346.86 510.89,-375.24"/>
<text xml:space="preserve" text-anchor="middle" x="510.89" y="-350.11" font-family="DejaVu Sans" font-size="10.00">Sind die Daten sicher</text>
<text xml:space="preserve" text-anchor="middle" x="510.89" y="-337.36" font-family="DejaVu Sans" font-size="10.00">bekannt?</text>
</g>
<!-- g2 -->
<g id="node2" class="node">
<title>g2</title>
<polygon fill="#eef2ff" stroke="#4338ca" stroke-width="1.6" points="370.89,-275.23 259.62,-234.1 370.89,-192.97 482.16,-234.1 370.89,-275.23"/>
<text xml:space="preserve" text-anchor="middle" x="370.89" y="-243.72" font-family="DejaVu Sans" font-size="10.00">Entscheidung fällt in</text>
<text xml:space="preserve" text-anchor="middle" x="370.89" y="-230.97" font-family="DejaVu Sans" font-size="10.00">mehreren Stufen</text>
<text xml:space="preserve" text-anchor="middle" x="370.89" y="-218.22" font-family="DejaVu Sans" font-size="10.00">über die Zeit?</text>
</g>
<!-- g1&#45;&gt;g2 -->
<g id="edge2" class="edge">
<title>g1&#45;&gt;g2</title>
<path fill="none" stroke="#5c6380" d="M483.9,-324.5C464.33,-309.02 437.44,-287.74 414.8,-269.83"/>
<polygon fill="#5c6380" stroke="#5c6380" points="417.23,-267.3 407.22,-263.84 412.89,-272.79 417.23,-267.3"/>
<text xml:space="preserve" text-anchor="middle" x="463.18" y="-293.93" font-family="DejaVu Sans" font-size="9.00">nein</text>
</g>
<!-- g4 -->
<g id="node4" class="node">
<title>g4</title>
<polygon fill="#eef2ff" stroke="#4338ca" stroke-width="1.6" points="651.89,-275.23 506.88,-234.1 651.89,-192.97 796.91,-234.1 651.89,-275.23"/>
<text xml:space="preserve" text-anchor="middle" x="651.89" y="-243.72" font-family="DejaVu Sans" font-size="10.00">Zielfunktion konvex?</text>
<text xml:space="preserve" text-anchor="middle" x="651.89" y="-230.97" font-family="DejaVu Sans" font-size="10.00">(Quadrate, Normen,</text>
<text xml:space="preserve" text-anchor="middle" x="651.89" y="-218.22" font-family="DejaVu Sans" font-size="10.00">log/exp konvex kombiniert)</text>
</g>
<!-- g1&#45;&gt;g4 -->
<g id="edge1" class="edge">
<title>g1&#45;&gt;g4</title>
<path fill="none" stroke="#5c6380" d="M538.08,-324.5C556.93,-309.7 582.53,-289.59 604.67,-272.2"/>
<polygon fill="#5c6380" stroke="#5c6380" points="606.71,-275.05 612.41,-266.12 602.38,-269.54 606.71,-275.05"/>
<text xml:space="preserve" text-anchor="middle" x="580.92" y="-293.93" font-family="DejaVu Sans" font-size="9.00">ja</text>
</g>
<!-- g3 -->
<g id="node3" class="node">
<title>g3</title>
<polygon fill="#eef2ff" stroke="#4338ca" stroke-width="1.6" points="155.89,-149.72 40.88,-121.34 155.89,-92.96 270.91,-121.34 155.89,-149.72"/>
<text xml:space="preserve" text-anchor="middle" x="155.89" y="-124.59" font-family="DejaVu Sans" font-size="10.00">Wahrscheinlichkeiten</text>
<text xml:space="preserve" text-anchor="middle" x="155.89" y="-111.84" font-family="DejaVu Sans" font-size="10.00">bekannt?</text>
</g>
<!-- g2&#45;&gt;g3 -->
<g id="edge4" class="edge">
<title>g2&#45;&gt;g3</title>
<path fill="none" stroke="#5c6380" d="M324.77,-209.34C288.68,-190.75 238.71,-165 202.5,-146.35"/>
<polygon fill="#5c6380" stroke="#5c6380" points="204.51,-143.45 194.02,-141.98 201.3,-149.67 204.51,-143.45"/>
<text xml:space="preserve" text-anchor="middle" x="266.7" y="-168.42" font-family="DejaVu Sans" font-size="9.00">nein</text>
</g>
<!-- dp -->
<g id="node6" class="node">
<title>dp</title>
<path fill="#fffbeb" stroke="#b45309" stroke-width="2" d="M452.16,-140.57C452.16,-140.57 307.62,-140.57 307.62,-140.57 301.62,-140.57 295.62,-134.57 295.62,-128.57 295.62,-128.57 295.62,-114.11 295.62,-114.11 295.62,-108.11 301.62,-102.11 307.62,-102.11 307.62,-102.11 452.16,-102.11 452.16,-102.11 458.16,-102.11 464.16,-108.11 464.16,-114.11 464.16,-114.11 464.16,-128.57 464.16,-128.57 464.16,-134.57 458.16,-140.57 452.16,-140.57"/>
<text xml:space="preserve" text-anchor="middle" x="379.89" y="-124.59" font-family="DejaVu Sans" font-size="10.00">Dynamische Programmierung</text>
<text xml:space="preserve" text-anchor="middle" x="379.89" y="-111.84" font-family="DejaVu Sans" font-size="10.00">(Bellman)</text>
</g>
<!-- g2&#45;&gt;dp -->
<g id="edge3" class="edge">
<title>g2&#45;&gt;dp</title>
<path fill="none" stroke="#5c6380" d="M374.12,-193.43C375.21,-179.97 376.41,-165.17 377.44,-152.57"/>
<polygon fill="#5c6380" stroke="#5c6380" points="380.91,-153.05 378.23,-142.8 373.93,-152.48 380.91,-153.05"/>
<text xml:space="preserve" text-anchor="middle" x="379.95" y="-168.42" font-family="DejaVu Sans" font-size="9.00">ja</text>
</g>
<!-- stoch -->
<g id="node7" class="node">
<title>stoch</title>
<path fill="#f5f3ff" stroke="#7c3aed" stroke-width="2" d="M137.79,-38.46C137.79,-38.46 12,-38.46 12,-38.46 6,-38.46 0,-32.46 0,-26.46 0,-26.46 0,-12 0,-12 0,-6 6,0 12,0 12,0 137.79,0 137.79,0 143.79,0 149.79,-6 149.79,-12 149.79,-12 149.79,-26.46 149.79,-26.46 149.79,-32.46 143.79,-38.46 137.79,-38.46"/>
<text xml:space="preserve" text-anchor="middle" x="74.89" y="-22.48" font-family="DejaVu Sans" font-size="10.00">Zweistufige stochastische</text>
<text xml:space="preserve" text-anchor="middle" x="74.89" y="-9.73" font-family="DejaVu Sans" font-size="10.00">Optimierung, Szenarien</text>
</g>
<!-- g3&#45;&gt;stoch -->
<g id="edge5" class="edge">
<title>g3&#45;&gt;stoch</title>
<path fill="none" stroke="#5c6380" d="M136.9,-96.87C125.02,-82.18 109.66,-63.19 97.2,-47.79"/>
<polygon fill="#5c6380" stroke="#5c6380" points="100.21,-45.95 91.2,-40.38 94.76,-50.35 100.21,-45.95"/>
<text xml:space="preserve" text-anchor="middle" x="123.99" y="-62.79" font-family="DejaVu Sans" font-size="9.00">ja</text>
</g>
<!-- robust -->
<g id="node8" class="node">
<title>robust</title>
<path fill="#f5f3ff" stroke="#7c3aed" stroke-width="2" d="M289.16,-38.46C289.16,-38.46 186.62,-38.46 186.62,-38.46 180.62,-38.46 174.62,-32.46 174.62,-26.46 174.62,-26.46 174.62,-12 174.62,-12 174.62,-6 180.62,0 186.62,0 186.62,0 289.16,0 289.16,0 295.16,0 301.16,-6 301.16,-12 301.16,-12 301.16,-26.46 301.16,-26.46 301.16,-32.46 295.16,-38.46 289.16,-38.46"/>
<text xml:space="preserve" text-anchor="middle" x="237.89" y="-22.48" font-family="DejaVu Sans" font-size="10.00">Robuste Optimierung</text>
<text xml:space="preserve" text-anchor="middle" x="237.89" y="-9.73" font-family="DejaVu Sans" font-size="10.00">(Worst Case)</text>
</g>
<!-- g3&#45;&gt;robust -->
<g id="edge6" class="edge">
<title>g3&#45;&gt;robust</title>
<path fill="none" stroke="#5c6380" d="M174.91,-97.12C186.94,-82.44 202.54,-63.39 215.21,-47.93"/>
<polygon fill="#5c6380" stroke="#5c6380" points="217.69,-50.42 221.32,-40.47 212.28,-45.98 217.69,-50.42"/>
<text xml:space="preserve" text-anchor="middle" x="246.16" y="-68.41" font-family="DejaVu Sans" font-size="9.00">nein,</text>
<text xml:space="preserve" text-anchor="middle" x="246.16" y="-57.16" font-family="DejaVu Sans" font-size="9.00">nur Bandbreiten</text>
</g>
<!-- g5 -->
<g id="node5" class="node">
<title>g5</title>
<polygon fill="#eef2ff" stroke="#4338ca" stroke-width="1.6" points="646.89,-149.72 492.88,-121.34 646.89,-92.96 800.91,-121.34 646.89,-149.72"/>
<text xml:space="preserve" text-anchor="middle" x="646.89" y="-124.59" font-family="DejaVu Sans" font-size="10.00">Quadratisch mit</text>
<text xml:space="preserve" text-anchor="middle" x="646.89" y="-111.84" font-family="DejaVu Sans" font-size="10.00">linearen Nebenbedingungen?</text>
</g>
<!-- g4&#45;&gt;g5 -->
<g id="edge7" class="edge">
<title>g4&#45;&gt;g5</title>
<path fill="none" stroke="#5c6380" d="M650.08,-192.8C649.61,-182.57 649.12,-171.61 648.66,-161.44"/>
<polygon fill="#5c6380" stroke="#5c6380" points="652.16,-161.32 648.21,-151.48 645.17,-161.63 652.16,-161.32"/>
<text xml:space="preserve" text-anchor="middle" x="653" y="-168.42" font-family="DejaVu Sans" font-size="9.00">ja</text>
</g>
<!-- nichtkonvex -->
<g id="node11" class="node">
<title>nichtkonvex</title>
<path fill="#fffbeb" stroke="#b45309" stroke-width="2" d="M969.79,-146.94C969.79,-146.94 838,-146.94 838,-146.94 832,-146.94 826,-140.94 826,-134.94 826,-134.94 826,-107.73 826,-107.73 826,-101.73 832,-95.73 838,-95.73 838,-95.73 969.79,-95.73 969.79,-95.73 975.79,-95.73 981.79,-101.73 981.79,-107.73 981.79,-107.73 981.79,-134.94 981.79,-134.94 981.79,-140.94 975.79,-146.94 969.79,-146.94"/>
<text xml:space="preserve" text-anchor="middle" x="903.89" y="-130.97" font-family="DejaVu Sans" font-size="10.00">scipy.optimize.minimize</text>
<text xml:space="preserve" text-anchor="middle" x="903.89" y="-118.22" font-family="DejaVu Sans" font-size="10.00">mit mehreren Startpunkten</text>
<text xml:space="preserve" text-anchor="middle" x="903.89" y="-105.47" font-family="DejaVu Sans" font-size="10.00">— nur lokales Optimum!</text>
</g>
<!-- g4&#45;&gt;nichtkonvex -->
<g id="edge8" class="edge">
<title>g4&#45;&gt;nichtkonvex</title>
<path fill="none" stroke="#5c6380" d="M708.45,-208.24C746.01,-191.73 795.56,-169.96 835.36,-152.46"/>
<polygon fill="#5c6380" stroke="#5c6380" points="836.65,-155.72 844.4,-148.49 833.83,-149.31 836.65,-155.72"/>
<text xml:space="preserve" text-anchor="middle" x="810.22" y="-168.42" font-family="DejaVu Sans" font-size="9.00">nein</text>
</g>
<!-- qp -->
<g id="node9" class="node">
<title>qp</title>
<path fill="#ecfeff" stroke="#0891b2" stroke-width="2" d="M611.91,-38.46C611.91,-38.46 531.88,-38.46 531.88,-38.46 525.88,-38.46 519.88,-32.46 519.88,-26.46 519.88,-26.46 519.88,-12 519.88,-12 519.88,-6 525.88,0 531.88,0 531.88,0 611.91,0 611.91,0 617.91,0 623.91,-6 623.91,-12 623.91,-12 623.91,-26.46 623.91,-26.46 623.91,-32.46 617.91,-38.46 611.91,-38.46"/>
<text xml:space="preserve" text-anchor="middle" x="571.89" y="-22.48" font-family="DejaVu Sans" font-size="10.00">QP über CVXPY</text>
<text xml:space="preserve" text-anchor="middle" x="571.89" y="-9.73" font-family="DejaVu Sans" font-size="10.00">(OSQP, Clarabel)</text>
</g>
<!-- g5&#45;&gt;qp -->
<g id="edge9" class="edge">
<title>g5&#45;&gt;qp</title>
<path fill="none" stroke="#5c6380" d="M628.36,-95.59C617.68,-81.34 604.22,-63.38 593.13,-48.57"/>
<polygon fill="#5c6380" stroke="#5c6380" points="595.93,-46.47 587.13,-40.57 590.33,-50.67 595.93,-46.47"/>
<text xml:space="preserve" text-anchor="middle" x="617.64" y="-62.79" font-family="DejaVu Sans" font-size="9.00">ja</text>
</g>
<!-- konvex -->
<g id="node10" class="node">
<title>konvex</title>
<path fill="#ecfdf5" stroke="#059669" stroke-width="2" d="M782.91,-38.46C782.91,-38.46 660.88,-38.46 660.88,-38.46 654.88,-38.46 648.88,-32.46 648.88,-26.46 648.88,-26.46 648.88,-12 648.88,-12 648.88,-6 654.88,0 660.88,0 660.88,0 782.91,0 782.91,0 788.91,0 794.91,-6 794.91,-12 794.91,-12 794.91,-26.46 794.91,-26.46 794.91,-32.46 788.91,-38.46 782.91,-38.46"/>
<text xml:space="preserve" text-anchor="middle" x="721.89" y="-22.48" font-family="DejaVu Sans" font-size="10.00">CVXPY</text>
<text xml:space="preserve" text-anchor="middle" x="721.89" y="-9.73" font-family="DejaVu Sans" font-size="10.00">— prüft Konvexität selbst</text>
</g>
<!-- g5&#45;&gt;konvex -->
<g id="edge10" class="edge">
<title>g5&#45;&gt;konvex</title>
<path fill="none" stroke="#5c6380" d="M665.43,-95.59C676.11,-81.34 689.57,-63.38 700.66,-48.57"/>
<polygon fill="#5c6380" stroke="#5c6380" points="703.46,-50.67 706.66,-40.57 697.86,-46.47 703.46,-50.67"/>
<text xml:space="preserve" text-anchor="middle" x="705.25" y="-62.79" font-family="DejaVu Sans" font-size="9.00">nein</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB