# A New \"Doctor and Patient\" Optimization Algorithm: An Application to Energy Commitment Problem
## 3 Doctor and Patient Optimization (DPO)
### Implementation of DPO
\begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline Hour & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\ \hline
**Liquid Gas** & 292.5897 & 297.7531 & 290.8686 & 292.5897 & 301.1953 & 318.4065 & 344.2232 & 418.2312 \\
**Fuel Oil** & 1107.223 & 1133.425 & 1098.565 & 1114.323 & 1132.174 & 1206.242 & 1284.84 & 1520.263 \\
**Gas Oil** & 1931.791 & 1963.236 & 1921.292 & 1930.419 & 1997.848 & 2110.83 & 2310.59 & 2837.866 \\
**Kerosene** & 661.1897 & 672.8578 & 657.3004 & 661.1897 & 680.6365 & 719.53 & 777.8703 & 945.1124 \\
**Gasoline** & 1694.256 & 1724.155 & 1684.29 & 1694.256 & 1744.087 & 1843.75 & 1993.243 & 2421.79 \\
**Plane Fuel** & 90.86539 & 92.4689 & 90.33089 & 90.86539 & 93.5379 & 98.88293 & 106.9005 & 129.8841 \\
**Natural Gas** & 7559.858 & 7691.954 & 7515.844 & 7564.33 & 7822.283 & 8285.097 & 9021.851 & 11,060.32 \\
**Coke Gas** & 45.5543 & 46.3582 & 45.28633 & 45.5543 & 46.89413 & 49.5738 & 53.59329 & 65.11585 \\
**Coal** & 100.6855 & 102.4623 & 100.0932 & 100.6855 & 103.6468 & 109.5695 & 118.4535 & 143.921 \\ \hline Hour & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 \\ \hline
**Liquid Gas** & 437.1635 & 447.4902 & 459.538 & 445.7691 & 445.7691 & 438.8846 & 450.9324 & 456.0957 \\
**Fuel Oil** & 1603.173 & 1653.536 & 1693.215 & 1651.406 & 1649.966 & 1612.975 & 1662.116 & 1685.183 \\
**Gas Oil** & 2960.847 & 3026.316 & 3117.653 & 3013.492 & 3013.89 & 2971.341 & 3054.712 & 3091.246 \\
**Kerosene** & 987.8952 & 1011.231 & 1038.457 & 1007.342 & 1007.342 & 991.7846 & 1019.01 & 1030.678 \\
**Gasoline** & 2531.418 & 2591.216 & 2660.979 & 2581.249 & 2581.249 & 2541.385 & 2611.148 & 2641.047 \\
**Plane Fuel** & 135.7636 & 138.9706 & 142.7121 & 138.4361 & 138.4361 & 136.2981 & 140.0396 & 141.6431 \\
**Natural Gas** & 11,593.93 & 11,881.31 & 12249.3 & 11,829.5 & 11,829.94 & 11,641.09 & 11982.27 & 12134.19 \\
**Coke Gas** & 68.06348 & 69.67128 & 71.54705 & 69.40331 & 69.40331 & 68.33145 & 70.20721 & 71.01111 \\
**Coal** & 150.4359 & 153.9895 & 158.1354 & 153.3973 & 153.3973 & 151.0282 & 155.1741 & 156.9509 \\ \hline Hour & 17 & 18 & 19 & 20 & 21 & 22 & 23 & 24 \\ \hline
**Liquid Gas** & 438.8846 & 435.4424 & 430.279 & 438.8846 & 447.4902 & 426.8368 & 378.6455 & 316.6853 \\
**Fuel Oil** & 1614.772 & 1593.371 & 1563.759 & 1619.075 & 1654.976 & 1550.461 & 1418.204 & 1209.212 \\
**Gas Oil** & 2969.852 & 2950.352 & 2918.868 & 2967.727 & 3025.918 & 2894.268 & 2530.552 & 2097.053 \\
**Kerosene** & 991.7846 & 984.0059 & 972.3378 & 991.7846 & 1011.231 & 964.5591 & 855.6573 & 715.6406 \\
**Gasoline** & 2541.385 & 2521.452 & 2491.554 & 2541.385 & 2591.216 & 2471.621 & 2192.567 & 1833.783 \\
**Plane Fuel** & 136.2981 & 135.2291 & 133.6256 & 136.2981 & 138.9706 & 132.5566 & 117.5905 & 98.34843 \\
**Natural Gas** & 11,638.75 & 11,546.77 & 11,404.7 & 11,636.14 & 11,880.87 & 11,306.04 & 9885.869 & 8211.221 \\
**Coke Gas** & 68.33145 & 67.79552 & 66.99162 & 68.33145 & 69.67128 & 66.45568 & 58.95262 & 49.30583 \\
**Coal** & 151.0282 & 149.8437 & 148.0669 & 151.0282 & 153.9895 & 146.8823 & 130.2988 & 108.9772 \\ \hline \hline \end{tabular}
\end{table} 
Table 5: The need of energy carriers (BOE).