Code Monkey home page Code Monkey logo

emse-3a-pe-matching's Introduction

PE Matching

Match a set of group of students with a set of projects. Developed by Mathieu Bour [email protected] in December 2019.

There are 9 groups and 11 projects.

Usage

Run the solver:

npm run main

Definition

Rank table

The data is directly exported from a Google Sheets document. Therefore, we have only two CSVs: projects and groups.

We can then parse the sheets to get a matrix called rank table where:

  • the lines are the groups
  • the columns are the projects

A cell R[i][j] is the rank of the project j made by the group i.

Combination

A combination is an array of length 9 of numbers between 1 and 11. Given a combination c, c[i] is the project associated with the group i.

A combination is valid if and only if there are no duplicated items, e.g. c[i] = c[j] => i = j.

A combination c violates the threshold n for the rank table R if there a g like c[g] > R[g][c[g]].

Objectives

Lowest maximum rank

The first objective is to minimize the threshold n while keeping valid combinations.

Best score

Given a valid, non-violating combination c, the score S(c) of c is defined by the sum of R[g][c[g]] for all g.

emse-3a-pe-matching's People

Contributors

mathieu-bour 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.