There is a newer version of the record available.

Published August 12, 2023 | Version v1

Resource Allocation to AI Applications in Computing Continuum: a Stackelberg Game Approach

Authors/Creators

  • 1. Politecnico di Milano

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.

Files

MEC_three_partitions.zip

Files (47.6 kB)

Name Size
md5:51d2143f288f6b271cd6ca9fcd9c9d9f
47.6 kB Preview Download