Coder Social home page Coder Social logo

course-scheduling-prolog's Introduction

Course-Scheduling-Prolog

This project aims to solve the course-scheduling problem using Answer Set Programming (ASP) with Clingo. It utilizes the following code files:

  • timetabling.lp: This file contains the ASP program that solves the course-scheduling problem.
  • extract_facts.py: This Python script is used to extract relevant data and generate facts for the ASP program.
  • tabularize_v2.py: This Python script is used to visualize the generated schedule as an Excel file.

An Example of the Optimized Schedule

The following is an example of the optimized schedule generated by the ASP program:

Optimized Schedule

Usage

  1. Run extract_facts.py to extract data and generate the necessary facts for the course-scheduling problem. This will generate files such as timeslots.lp and busy.lp.
  2. Run clingo timetabling.lp to solve the course-scheduling problem using Clingo.
  3. Run tabularize_v2.py to visualize the generated schedule as an Excel file.

Dependencies

  • Clingo: The ASP solver used to solve the course-scheduling problem.
  • Python: The programming language used for data extraction and visualization.

License

This project is licensed under the MIT License.

course-scheduling-prolog's People

Contributors

muratbayrktr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.