แอปพลิเคชันการจับคู่ในกราฟถ่วงน้ำหนักสำหรับปัญหาการจัดสรรงาน

Main Article Content

โรจนี ขุมมงคล
จินตหรา จารัตน์
ดำรงค์ ถาวร
นฤมล แย้มอาสา
วัชรินทร รักษาศักดิ์ชัย

บทคัดย่อ

งานวิจัยนี้มีวัตถุประสงค์หลักเพื่อออกแบบและพัฒนาแอปพลิเคชันสำหรับการหาการจับคู่ที่เหมาะสมที่สุดในกราฟถ่วงน้ำหนักเพื่อแก้ปัญหาการจัดสรรงาน พร้อมทั้งพัฒนาชุดคำสั่งการจับคู่ให้ครอบคลุม 5 ลักษณะสำคัญเพื่อเพิ่มความยืดหยุ่นในการเลือกคำตอบที่เหมาะสมในบริบทที่หลากหลาย ตลอดจนมุ่งวิเคราะห์และตรวจสอบคุณสมบัติเชิงโครงสร้างของกราฟในด้านการเป็นกราฟสองส่วนและการมีอยู่ของการจับคู่สมบูรณ์ โดยเครื่องมือที่ใช้ในการพัฒนาแอปพลิเคชันคือภาษา  ไพทอน ซึ่งมีการทดสอบผ่านกลุ่มตัวอย่างที่เป็นกรณีศึกษาจำลองปัญหาการจัดสรรงานจำนวน 5 กรณีศึกษา สำหรับเครื่องมือที่ใช้ในการวิจัยประกอบด้วยแอปพลิเคชันสำหรับการหาการจับคู่ที่เหมาะสมในกราฟถ่วงน้ำหนักและแบบบันทึกผลการทดสอบความถูกต้องของขั้นตอนวิธี โดยใช้สถิติในการวิเคราะห์คือการหาค่าร้อยละของความถูกต้องและเปรียบเทียบผลลัพธ์กับคำตอบที่เหมาะสมที่สุด ผลการวิจัยพบว่าแอปพลิเคชันที่พัฒนาขึ้นสามารถหาการจับคู่ที่เหมาะสมที่สุดในกราฟถ่วงน้ำหนักได้ครบถ้วนทั้ง 5 ลักษณะ ประกอบด้วย (1) การจับคู่ใหญ่สุดที่มีค่าน้ำหนักรวมมากที่สุด (2) การจับคู่ใหญ่สุดที่มีค่าน้ำหนักรวมน้อยที่สุด (3) การจับคู่ที่มีค่าน้ำหนักรวมมากที่สุด (4) การจับคู่ที่มีค่าน้ำหนักรวมน้อยที่สุด และ (5) การจับคู่ใหญ่สุดโดยไม่คำนึงถึงค่าน้ำหนักรวม ซึ่งการระบุเป้าหมายในการพัฒนาแอปพลิเคชันและขอบเขตการหาการจับคู่ในกราฟถ่วงน้ำหนักที่ชัดเจนนี้ ช่วยให้สามารถแก้ปัญหาการจัดสรรงานได้อย่างมีประสิทธิภาพและมีความยืดหยุ่นสูงกว่าแอปพลิเคชันทั่วไป อีกทั้งยังสามารถตรวจสอบคุณสมบัติความเป็นกราฟสองส่วนและการมีอยู่ของการจับคู่สมบูรณ์ได้อย่างแม่นยำ ซึ่งช่วยลดความซับซ้อนใน   การวิเคราะห์ข้อมูลกราฟและเป็นเครื่องมือที่มีประสิทธิภาพในการสนับสนุนการตัดสินใจทั้งในด้านวิชาการและการวางแผนเชิงธุรกิจ

Downloads

Download data is not yet available.

Article Details

รูปแบบการอ้างอิง
ขุมมงคล โ., จารัตน์ จ., ถาวร ด., แย้มอาสา น., & รักษาศักดิ์ชัย ว. (2026). แอปพลิเคชันการจับคู่ในกราฟถ่วงน้ำหนักสำหรับปัญหาการจัดสรรงาน. วารสารวิทยาศาสตร์ เทคโนโลยี และนวัตกรรม มหาวิทยาลัยกาฬสินธุ์, 5(1), 79–100. https://doi.org/10.14456/ksti.2026.6
ประเภทบทความ
บทความวิจัย

เอกสารอ้างอิง

Shahriar Tanvir Alam, Eshfar Sagor, Tanjeel Ahmed, Tabassum Haque, Md Shoaib Mahmud, Salman Ibrahim, Ononya Shahjahan, Mubtasim Rubaet. Assessment of Assignment Problem using Hungarian Method. Proceedings of the First Australian International Conference on Industrial Engineering and Operations Management; 20-21 December 2022; Sydney, Australia. 2328-2338. https://ieomsociety.org/proceedings/2022australia/498.pdf

Jayasree T G, Malavika V. Graph Theory for Optimum Assignment. International Journal of Scientific Research in Science and Technology. 2025; 12(16): 337-343. https://ijsrst.com/home/issue/view/article.php?id=IJSRST25121640

Fatemeh Rajabi-Alni, Alireza Bagheri. Computing a Many-to-Many Matching with Demands and Capacities between Two Sets Using the Hungarian Algorithm. Journal of Mathematics. 2023; Volume 2023, Article ID 7761902: 1-6. https://doi.org/10.1155/2023/7761902

M. Usha Devi, A. Marimuthu, S. Santhana Megala. Bipartite Graph Matching in Donor-Recipient Using Enhanced Hopcroft Karp Algorithm for Liver transplantation. Advances and Applications in Mathematical Sciences. 2022; 21(9): 5291-5298.

https://www.mililink.com/upload/article/956498328aams_vol_219_july_2022_a41_p5291-5298_m._usha_devi_et_al.pdf

Gabriel Cristian Dragomir-Loga, Marius Pop. Edmonds’ Blossom Algorithm Analysis in a Medical Emergency Management System. The 9th IEEE International Conference on E-Health and Bioengineering - EHB 2021 Grigore T. Popa University of Medicine and Pharmacy; 18-19 November 2021; Web Conference, Romania. 1-4. https://ieeexplore.ieee.org/document/9657586

นวรัตน์ อนันต์ชื่น. ทฤษฎีกราฟ 1 .พิมพ์ครั้งที่ 1. นครปฐม: ภาควิชาคณิตศาสตร์ คณะวิทยาศาสตร์ มหาวิทยาลัยศิลปากร; 2540. 5-7, 113-118. https://lib.rmutp.ac.th/bibitem?bibid=b00033744

Chartrand, G., Lesniak, L. Graphs & Digraphs. 4th ed. Florida: Chapman & Hall/CRC; 2005. 28-30. https://books.google.co.th/books/about/Graphs_Digraphs_Fourth_Edition.html?id=LgZKLPRH2D4C&redir_esc=y

วรานุช แขมมณี. ทฤษฎีกราฟเบื้องต้น. พิมพ์ครั้งที่ 1. สำนักพิมพ์แห่งจุฬาลงกรณ์มหาวิทยาลัย; 2559. 2-6, 120. https://www.chulabook.com/testprep/25508?srsltid=AfmBOoq4WHZqXg8sjDXafxZywmtLfRs1QrJqnoZBuAAcf2t2OETPgZgC

West, D.B. Introduction to Graph Theory. 2nd ed. New Jersey: Prentice Hall; 2001. 107-111. https://books.google.co.th/books/about/Introduction_to_Graph_Theory.html?id=TuvuAAAAMAAJ&redir_esc=y

Bondy, AJ, Murty, USR. Graph Theory with Applications. 5th ed. U.S.A: Elsevier Science Publishing Co., Inc.; 1982. 70-90. https://www.iro.umontreal.ca/~hahn/IFT3545/GTWA.pdf

วิษณุ ช้างเนียม. โครงสร้างข้อมูลและอัลกอริทึม + การประยุกต์ใช้ AI (DATA STRUCTURE & ALGORITHM + AI). พิมพ์ครั้งที่ 3 นนทบุรี: บริษัท ไอดีซี พรีเมียร์ จำกัด; 2568. 305-307. https://www.chulabook.com /computer/219458?srsltid=AfmBOopXXwwLjJGsVu32jHSVbHkWBe-arLZFB_adImKtsZnlPnrcgBNc

Akshitha, S., Ananda Kumar, K. S., Nethritha Meda, M., Sowmva, R., Suman Pawar, R. Implementation of Hungarian Algorithm to obtain Optimal Solution for Travelling Salesman Problem. In: 3rd IEEE. https://ieeexplore.ieee.org/document/9012439

Wang, Y., Wu, Y. -X., Zhang, H. An Improved Multi-Robot Task Allocation Algorithm Based on the Hungarian Algorithm. In: 44th Chinese Control Conference (CCC); 28-30 July 2025; Chongqing, China. 4903-4908. https://ieeexplore.ieee.org/document/11178894

Othman, F., Abdullah, R., Salam, R. A. Bipartite Graph for Protein Structure Matching, In: Second Asia International Conference on Modelling & Simulation (AMS); 13-15 May 2008; Kuala Lumpur, Malaysia. IEEE publisher; 928-933. https://ieeexplore.ieee.org/document/4530600

Rong, H. -g., Li, Y. -j., Zhang, X. -s. An Image Matching Algorithm Based on Bipartite Graph, In: 7th International Conference on Information Science, Computer Technology and Transportation; 27-29 May 2022; Xishuangbanna, China. 1-4. https://ieeexplore.ieee.org/abstract/document/10071784

A. B. Chaudhuri. Flowchart and Algorithm Basics The Art of Programming. 2nd ed. Virginia: Mercury Learning and Information.; 2020. 1-17. https://books.google.co.th/books/about /Flowchart_and_Algorithm_Basics.html?id=pUOQzQEACAAJ&redir_esc=y

ศิริพร อ่วมมีเพียร. วิชาการเขียนโปรแกรมคอมพิวเตอร์เบื้องต้นรหัสวิชา 20901-1002. พิมพ์ครั้งที่ 1. กรุงเทพฯ : วังอักษร, 2563. 21-38. https://search-library.spu.ac.th/bib/189590

Shopov, V., Markova, V. Application of Hungarian Algorithm for Assignment Problem. In: 2021 International Conference on Information Technologies (InfoTech); 16-17 Sep 2021; Varna, Bulgaria. Piscataway: Institute of Electrical and Electronics Engineers, Inc.; 2021. 1-4. https://ieeexplore.ieee.org/abstract/document/9548600

Deo, N. Graph Theory with Applications to Engineering and Computer Science. 2nd ed. New York: Dover Publications, Inc.; 2016. 496. https://books.google.co.th/books/about/Graph _Theory_with_Applications_to_Engine.html?id=uk1KDAAAQBAJ&redir_esc=y

Denise, G., Matthias, B. The Practitioner's Guide to Graph Data. 1sted. California: O'Reilly Media.; 2020. 420. https://books.google.co.th/books/about/The_Practitioner_ s_Guide _to_Graph_Data.html?id=n6nYDwAAQBAJ&redir_esc=y