Downloads · 30 days
0
ANOUARELIDRISSI/game-theoretic-waypoint-scheduling
game-theoretic-waypoint-scheduling is a machine learning model from ANOUARELIDRISSI. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project implements a comprehensive framework for game-theoretic scheduling of waypoint proxies in Istio Ambient Mesh deployments within multi-tenant Kubernetes clusters. It includes 5 scheduling strategies (3 fro…
Downloads · 30 days
0
Access
Public
Updated Apr 24, 2026
Repo size
1.6 MB
Likes
0
Public
Click a slice to open those files.
.png3.3 MB · 89%
From the Hugging Face model README
This project implements a comprehensive framework for game-theoretic scheduling of waypoint proxies in Istio Ambient Mesh deployments within multi-tenant Kubernetes clusters. It includes 5 scheduling strategies (3 from the research blueprint + 2 novel contributions), a complete mathematical framework with formal proofs, and a rigorous evaluation pipeline with statistical testing.
S1: Baseline K8s Default (strategies/s01_baseline_k8s_default.py)
S2: Resource-Aware Heuristic (strategies/s02_resource_aware_heuristic.py)
S3: Stackelberg Equilibrium (strategies/s03_stackelberg_equilibrium.py)
S4: Potential Game (strategies/s04_potential_game.py) ⭐ NOVEL
S5: VCG Mechanism Design (strategies/s05_vcg_mechanism_design.py) ⭐ NOVEL
| Property | S1 | S2 | S3 | S4 | S5 |
|---|---|---|---|---|---|
| Equilibrium existence | N/A | N/A | ✓ | ✓ | ✓ |
| Convergence guarantee | N/A | N/A | Conditional | ✓ Always | N/A |
| PoA bound | None | 2-approx | None | ≤ 5/3 | 1 (optimal) |
| Incentive compatible | ✗ | ✗ | ✗ | ✗ | ✓ |
| Decentralized | ✗ | ✗ | ✗ | ✓ | ✗ |
| Complexity | O(NM) | O(NM log N) | NP-hard | O(N²M·T) | NP-hard |
Full proofs in docs/mathematical_proofs.md — includes 15 theorems covering equilibrium existence, uniqueness, convergence rates, PoA bounds, and mechanism design properties.
project/
├── core/
│ ├── system_model.py # Cluster, tenant, node, latency models
│ ├── payoff_engine.py # Cost functions, Nash verification
│ └── equilibrium_solver.py # CVXPY solver, best-response, PGD
├── strategies/
│ ├── s01_baseline_k8s_default.py
│ ├── s02_resource_aware_heuristic.py
│ ├── s03_stackelberg_equilibrium.py
│ ├── s04_potential_game.py # Novel
│ └── s05_vcg_mechanism_design.py # Novel
├── data/
│ └── synthetic_generator.py # Scenario generation (small/medium/large/xlarge)
├── evaluation/
│ ├── metrics.py # 30+ metrics (latency, fairness, SLA, isolation)
│ ├── visualizations.py # 8 plot types (CDF, radar, Pareto, heatmap, etc.)
│ └── statistical_tests.py # Wilcoxon, bootstrap CI, Friedman, Nemenyi
├── docs/
│ └── mathematical_proofs.md # 15 formal theorems with complete proofs
├── results/ # Generated plots and JSON results
├── run_all.py # Master evaluation runner
└── README.md
python run_all.py --quick
python run_all.py --scenarios small medium large --seeds 30
python run_all.py --scenarios medium --seeds 10 --output ./my_results
numpy scipy cvxpy matplotlib seaborn pandas networkx
The system models N tenants and M nodes with:
cong_j(x) = κ(ℓ_j/C_j)^p (polynomial, typically p=2)c_i = α·latency + β·contention + γ·isolationSee docs/mathematical_proofs.md for complete formalization.