SUPSI - WP4 - T4.4
- [Python 3.8]
- [Python libraries listed in the scripts to be run]
- [MATLAB R2022a]
- In the same directory where all the files of this library are stored, the following directory should also be created: "Data/<problem_name>/". One different subfolder must be created for each different benchmark problem that it is of interest to solve.
- Run Python script 'main_benchmarks.py' to launch the D-GLIS algorithm. The name of the benchmark problem to be solved must be specified in 'main_benchmarks.py'. The problem can be one of the existing ones or can be defined in the separate script 'utilities.py', according to the syntax which can be inferred from existing examples.
- Run Python script 'plot_solutions_benchmarks.py' to print/plot results and additional information.
- In the same directory where all the files of this library are stored, the following directory should also be created: "Data/mpc/".
- Specify local objectives for each agant in the MATLAB script 'benchmark_MPC_calibration.m'.
- Run Python script 'main_MPC.py' to launch the D-GLIS algorithm for solving the distributed MPC calibration problem.
- Run Python script 'plot_solutions_MPC.py' to print/plot results and additional information.