An intelligent course scheduling system powered by Genetic Algorithms, designed to create optimal timetables with minimal conflicts and maximum efficiency.
- π€ Intelligent Scheduling: Uses advanced Genetic Algorithm
- ποΈ Flexible Timetabling: Supports multiple departments, courses, and constraints
- π‘ Smart Conflict Resolution: Minimizes scheduling conflicts
- π Database-Driven: Seamless MySQL integration
The scheduler uses a sophisticated Genetic Algorithm to:
- π Evaluate scheduling possibilities
- 𧬠Evolve optimal solutions
- π Minimize scheduling conflicts
- Room capacity matching
- Instructor availability
- Time slot distribution
- Course requirements
- Language: Python 3.8+
- Database: MySQL
- Key Libraries:
pymysqlprettytablerandom
# Clone the repository
git clone https://github.com/yourusername/timetable-scheduler.git
# Install dependencies
pip install pymysql prettytable
# Setup MySQL Database
# Import the required schema and data-
Update database connection parameters in
main():connection = pymysql.connect( host='localhost', user='your_username', password='your_password', db='your_database' )
-
Adjust Genetic Algorithm parameters:
POPULATION_SIZE = 15 MUTATION_RATE = 0.3 TOURNAMENT_SELECTION_SIZE = 6
# Run the scheduler
python timetable_scheduler.py- Initial Solution Quality: Randomly generated
- Optimization Goal: Fitness Score of 1.0
- Conflict Resolution: Minimized through evolutionary process
β Don't forget to star the repository if you find it helpful! π