Resource Allocation to AI Applications in Computing Continuum: a Stackelberg Game Approach
Description
This project is the code related to the work "Resource Allocation to AI Applications in Computing Continuum: a Stackelberg Game Approach".
The ConfigFile folder includes all the .json file templates for the system and users models.
The classes folder includes all classes and functions that are needed.
Profit_ratio.py file is used to compute the extra-profit and costs saving of the edge platform by solving the game, instead of imposing a fixed price.
Draw_plots.py file is used to plot the users and platform profit functions.
Heuristic_VS_Baron.py is used to compare the performance of the full knowledge, heuristic algorithm with the state-of-the-art BARON solver.
Main_MEC.py file is the main file to run the project.
Partial_knowledge_users_parameters.py file is used to run the Follow the Line algorithm and to compare the results with the full knowledge scenario.
Test_heuristic.py file is used to compare the different versions of the heuristic approach, in the full knowledge scenario.
Utility.py file contains some useful functions to check and analyse the solutions.