I have a seemingly simple problem.
I have a set up the following nodes:
- Students (121)
- Subjects (8)
- Sessions (5)
Each student has a preference for subjects that I have added as edge properties. The edges are as follows:
Some relevant constraints:
- Not all subjects are in each session.
- A student can only be in a single session/subject combination. (i.e. a student will not take the same subject again if they already have taken that subject previously.
The kicker is I want to randomly assign the students to the session and subject.
Is there a way to do this within the constraints of Cypher?
Thanks for any help you can provide.