Giter Site home page Giter Site logo

rexvalkering / esme Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 95 KB

Evolutionary Scheduling Made Easy: an attempt to solve a common combined clustering and rostering problem with evolutionary algorithms.

License: GNU General Public License v3.0

Python 99.94% Shell 0.06%
celery deap-library evolutionary-algorithms hacktoberfest python python3 scheduling

esme's People

Contributors

dependabot[bot] avatar rexvalkering avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

lenterit

esme's Issues

Add support for different solving phases

For optimal convergence we need to add support for different solving phases. For example, an iterator with different phases might look like this:

  1. Solve the clustering problem
  2. Solve the clustering and scheduling problem (alternating)
  3. Solve the clustering and scheduling problem combined, with lower mutation probability
  4. Solve the scheduling problem with lower mutation probability.

Export the clustering solution to a CSV file.

Currently the clustering solution is simply printed in the terminal. We need to add an option to specify a problem name (e.g. myteams) and use that name to export two files: myteams_teams.csv and myteams_schedule.csv.

Add support for varying number of timeslots per day

In the upcoming test, the number of timeslots differs per day. We could solve this by setting availability to 0 for all participants, but it would be better to enhance the program such that different timeslots per day are supported.

Add an algorithm for clustering.

The original proposal featured both clustering and scheduling. Earlier trials with clustering did not bear fruit.

A solution using evolutionary algorithm would be similar to the scheduling problem. Calculate the maximum group size m and the number of groups n; create a list with each group number repeated m times; the permutation determines the group assignment. Make two distinct assignments for women and men separately.

Normalize the different parameters (e.g. length, motivation, skill) and determine their weights. Find a suitable function for determining fitness. Add extra checks to enforce minimum group sizes.

Allow passing of a custom progress reporting function

For the demo we want to be able to call esme using Python Celery, and then report on progress using a custom progress bar. For this, we need to store intermediate results, either in file or in the database.

Create a class or function pattern for reporting intermediate progress.

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.