Re: Populating a timetable with subjects

2019-05-03 Thread DL Neil
On 4/05/19 11:51 AM, Cameron Simpson wrote: On 01May2019 19:22, britt...@gmail.com wrote: We have to populate a timetable with subjects. What would be the best approach? That's a pretty open ended question. Often a constraint on generating timetables involves ensuring that no 2 subjects use

Re: Populating a timetable with subjects

2019-05-03 Thread Cameron Simpson
On 01May2019 19:22, britt...@gmail.com wrote: We have to populate a timetable with subjects. What would be the best approach? That's a pretty open ended question. Often a constraint on generating timetables involves ensuring that no 2 subjects use the same timeslot if a student might need to

Populating a timetable with subjects

2019-05-01 Thread brittocj
Hi All, We have to populate a timetable with subjects. What would be the best approach? In our sample timetable there are 25 hours (keys), all the FH value should be replaced with random subjects as many as their corresponding hour. timetable = [{'A1': "FH", 'B1': "FH", 'C1': "FH", 'D1': "FH",