Need help to custom for one purticular problem

Started by mmtwins, February 09, 2009, 08:29:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mmtwins

A teacher has his daughter studying in the University. Now it is needed that the trip of the faculty member to bring his daughter to university and his lectures time are optimized so that no one has to wait unnecessary for other. How can this be possible. Any suggestions. I am also submitting the FET file by the name Musadiq in the timetable submission forum. The dauther is in year group of BBA06 and faculty member name is GhiasulHaq. Will appreciate quick response.

Thanks
MMTWINS

Liviu Lalescu

Sorry, but this one seems too hard for me. I'll think about it, but I don't think I can help you.

You could try to generate a timetable, see the times of the daughter and may the teacher not available in the rest of the slots and generate again. Or vice-verse.

mmtwins


Liviu Lalescu

OK, I'll see it.

I meant: generate a timetable and see the daughter's times. Then, make the daughter not available in the other slots, and also the teacher not available in the other slots. Then generate again. FET might find a solution.

mmtwins

okay good point. Thanks for your guidance. once i am given the responsibility to generate for the full university I will share the file with you. The University till date was doing a manual method of making timetable. Sad!!!. I have joined only three weeks ago. Lets see how it goes.

Volker Dirr

You can try this:
add dummy activity/activities with subject "---" the teacher and his daughter. You need to think yourself about best duration and number of spilt actitivies.
then add constraint preferd starting time 1st hour and lastHour-durationOfSummyActivity+1. So the activity is set in the beginning or end of a day and both don't get an onther activity to that time. So they can stay/go home.

Liviu Lalescu

#6
Reviving an old topic, because the new FET version 5.15.0 seems to solve this problem:

To make sure I got it right: you want a teacher and a student both to have activities at the same time, so when the student comes to/leaves school, so does the teacher.

I think the new FET-5.15.0 can do that: add a constraint activities occupy max time slots from selection. Activities of both the teacher and the student, select all time slots of the week, max occupied=max(number of hours of working hours of the teacher, number of working hours of the student).

Yes, the new constraint activities occupy max time slots from selection is magic :-)

This kind of problem was also posed by Silver.

Edited to add: I did the changes on your file, see attached. But the teacher has 12 hours and student has 36 hours, so the only possibility is to request that the teacher's timetable is included in the student's timetable. I think the final timetable looks good with respect to your request.