Research Article Open Access

Graph Coloring Program of Exam Scheduling Modeling Based on Bitwise Coloring Algorithm Using Python

Samsul Arifin1, Indra Bayu Muktyas2, Wikky Fawwaz Al Maki3 and Mohd Khairul Bazli Mohd Aziz4
  • 1 Bina Nusantara University, Indonesia
  • 2 STKIP Surya, Indonesia
  • 3 Telkom University, Indonesia
  • 4 University Malaysia Pahang, Malaysia

Abstract

A graph coloring is the process of assigning labels to the vertices of a graph in such a way that no two adjacent vertices have the same color. The chromatic number of a graph G is the smallest number of colors that can be assigned to it. Graph coloring has a wide range of applications and is commonly used to solve scheduling issues. In this article, the researchers design an algorithm and apply it to a computer program (Python) to solve graph coloring and to visualize the variation of exam scheduling modeling at Binus University in graphs based on the Bitwise Graph Coloring Algorithm. The researchers develop a graph coloring algorithm by considering some of the graph vertices to be binary numbers. Bitwise operations make this algorithm run very fast. The algorithm constructed by the researcher is a modification of Komosko, etc.’s algorithm in 2015 and it is the key result of this research. The researchers try to offer an alternative method in the process of making the final semester exam schedule. Next, the researcher tested the program on the data of subjects and students who took it at the Study program of TI-Stat-Math in Binus University. Our results show that from the program created and the simulations performed, 8 schedule slots are generated in about 0.675 sec.

Journal of Computer Science
Volume 18 No. 1, 2022, 26-32

DOI: https://doi.org/10.3844/jcssp.2022.26.32

Submitted On: 23 September 2021 Published On: 1 February 2022

How to Cite: Arifin, S., Muktyas, I. B., Al Maki, W. F. & Mohd Aziz, M. K. B. (2022). Graph Coloring Program of Exam Scheduling Modeling Based on Bitwise Coloring Algorithm Using Python. Journal of Computer Science, 18(1), 26-32. https://doi.org/10.3844/jcssp.2022.26.32

  • 4,607 Views
  • 1,947 Downloads
  • 4 Citations

Download

Keywords

  • Graph Coloring
  • Bitwise Graph Coloring
  • Scheduling
  • Python