run_algorithm.py#

This file contains methods for running the SM-SPSA algorithm on one or multiple network instances. It includes additional code for checking and saving input parameters, applying heuristics, setting additional required variables, plotting and saving results.

select_algorithm_run_type(ALGORITHM_PARAMETERS)

Calls the single instance or multiple instances code based on the ALGORITHM_RUN_TYPE variable.

run_one_instance(ALGORITHM_PARAMETERS)

Runs the SM-SPSA algorithm on one instance.

run_multiple_instances(ALGORITHM_PARAMETERS)

Runs the SM-SPSA algorithm on multiple instances.