flowchart TD style A fill:#4caf50,color:#fff style B fill:#ff9800,color:#fff style C fill:#2196f3,color:#fff style D fill:#9c27b0,color:#fff style E fill:#f44336,color:#fff style F fill:#2196f3,color:#fff style G fill:#ff9800,color:#fff style H fill:#4caf50,color:#fff A[Start: Initial β interval] --> B{Check feasibility} B -->|Infeasible| C[Find negative cycle C] B -->|Feasible| D[Improve via shortest path] C --> E[Zero-out cycle: update β] D --> F[Update βmin] E --> G{Converged?} F --> G G -->|No| B G -->|Yes| H[Return optimal β*]