|
Algorithm 7: Approach to generate and solve instances of the 2S-SPLPO with a sensor. |
-
1:
Generate data for the second scenario with the simulation algorithm.
-
2:
Build an instance of the 2S-SPLPO with the data simulated in the previous step for the data taken in the first scenario.
-
3:
Store the instance in the database.
-
4:
Detect the instance of the 2S-SPLPO with a sensor in the database and dynamically build the mathematical model.
-
5:
Call the ADA algorithm to solve the mathematical model with the sensor.
-
6:
Receive the mathematical model and solve it with the ADA algorithm.
-
7:
Store the output of the ADA algorithm in the database and generate tables with the execution results.
|