Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : journal of computer networks architecture and high performance computing

Forecast-Driven Doctor Scheduling in Primary Healthcare: Ensemble Learning, a Reinforcement Learning Agent, and an Exact Baseline M. Agus Munandar; Terttiaavini Terttiaavini
Journal of Computer Networks, Architecture and High Performance Computing Vol. 8 No. 4 (2026): Research Paper October 2026
Publisher : Information Technology and Science (ITScience)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47709/cnahpc.v8i4.9575

Abstract

Doctor scheduling in primary healthcare facilities is challenging because patient visit volume fluctuates due to seasonality, holidays, weather, and unplanned staff absences, while rule-based scheduling used in many healthcare systems remains static and unresponsive. This study builds and rigorously validates a forecast-driven scheduling pipeline for a primary healthcare center (Puskesmas Talang Ratu, Palembang, Indonesia), using five years (2019–2024) of visit, attendance, weather, and holiday records engineered into 46 temporal, operational, and contextual features. Six ensemble regressors were compared using a chronological split; Random Forest generalised best (MAE = 7.08, RMSE = 10.44, R² = 0.82, next-day visits). The forecast was embedded in a Deep Q-Network (DQN) scheduling agent and benchmarked, under a leak-free walk-forward forecasting procedure with the forecast-to-decision day alignment corrected, against three baselines: the facility's existing rule-based practice, a constraint-aware forecast-to-staffing rule, and a myopic cost-optimal integer program that solves the DQN's own objective exactly each day. Over a 301-day held-out period, the exact optimizer achieved the best capacity match (MAE 8.11) and the lowest objective cost, ahead of the constraint-aware rule (MAE 8.42) and the DQN policy (MAE 9.90–10.26 across reward-scaling and seed variants), all of which greatly outperformed the existing rule-based practice (MAE 20.61). The DQN did not surpass the exact optimizer even on its own training objective, a result that held across four random seeds, extended training, and reward rescaling. We trace this to a structural property of the environment: because staffing decisions do not influence future states or rewards, the task reduces to a per-day (contextual-bandit-like) optimization rather than a genuinely sequential one, removing the advantage reinforcement learning derives from learning delayed returns. The contribution is therefore a leak-free, day-aligned forecasting-to-scheduling pipeline and an empirically grounded account of when reinforcement learning is, and is not, warranted for demand-responsive capacity allocation in primary healthcare.
Co-Authors A. Taqwa Mardinata Abdul Kholik Ade Dea Doyosy Agustina Agustina Agustina Heryati Agustina Heryati Heryati Ahmad Sanmorino Ajeng Oktatriani Akbar, M Dani Alie, Muhammad F. Andiki Sianipar Annisa Kurnia Antoni, Darius Arminarahmah, Nur Asmawati Asmawati Asmawati Asmawati Astuti, Lastri Widya Awalia, Intan Sandra Cahyani, Septa Candra Setiawan Cindy Destyana Putri Darmawan Susilo Derra Legiana Chintiya DIAH KOMALA SARI Dona Marcelina Eliya Berliana Endang Sri Lestari Endang Sri Lestari Ermatita - Evi Purnamasari Fadiya Faradita Fadly, Farid Fakhry Zamzam Fauziah Afriyani Fellyanus Habaora Fidya Nur Syabitha Fitriyana, Ayu fitriyani, Ulfa Habibillah, Amri Harsi Romli Harsih Rianto Hartati, Lesi Heryati, Agustina Indah Permatasari Indah Pratiwi Putri Indah Sukmawati Inessia Inessia Isabella, Isabella Iski Zaliman Jefirstson Richset Riwukore Juniarti, Anggi Putri K. Ghazali K.Ghazali Kardinata, Silvia Kartina, Riza Lastri Widya Astuti Lesfandra Lesfandra Lesfandra Lesfandra Lesfandra, Lesfandra Lesi Hertati Lili Syafitri, Lili M Amaruna Sahona M Ravensky Taro Danayaksa M. Agus Munandar Marcelina, Dona Marnisah, Luis Martadinata, A. Taqwa Masroni Dedi Kiswanto Maya Amelia Mody Sertian Amanda Muda, Seftia Putri Muhammad A. A. Hakim Muhammad Ramadhan Mulyati Mulyati Mulyati Mulyati Mustafa Ramadhan Mustika, Suci Permata Nadila Nurhalizah Ningsih Wahyuni Oktariani, Putri Pratama, Alga Wahyu Pratiwi Putri, Indah Purnamasari, Evi Putri Tsabita Putri, Indah Pratiwi Rahayu, Adelia Refki Saputra Rendra Gustriansyah Resti Wulandari Romli, Harsi Roni Sumari Hutabarat Sabrina Salsabila Putri Sahamony, Nur Fitriyani Salbani Salbani Sanawi, Fakhri Saputra, Tedy Setiawan Saputri, Lyra Ananda Seftia Putri Muda Sella Oktania Septa Cahyani Septa Cahyani Septa Cahyani Siti Komariah Hildayanti, Siti Komariah Suntana, Muhammad Yunus Thoiyibah Islamia Tri Septa Yulandari Trisna Hardianto Yeti Friyani Yossy Andri Ani Yulius, Yosef Zaliman, Iski Zanetti Julyah Berliana Perdana