FET Forum

FET Development => Report a Bug => Topic started by: Nagendra on June 14, 2019, 08:28:04 AM

Title: Potential bug
Post by: Nagendra on June 14, 2019, 08:28:04 AM
In my timetable individual roll numbers are subgroups. I added activities to FET student groups. I want to use activities->min days between set of activities. I want to implement this constraint for every student. But, as the subgroups are individual roll numbers, when I select the subgroup from filter, no activities are shown. How do I constrain, if no activities are listed?
Title: Re: Potential bug
Post by: Liviu Lalescu on June 14, 2019, 10:11:27 AM
I am sorry!  :-[     You can only filter by the exact students of these activities.

I have another idea: add the same activity tag to each activity, then constraint students activity tag max 1 hours daily (I assume you want for exam, with only one activity per day?)
Title: Re: Potential bug
Post by: Nagendra on June 14, 2019, 10:49:06 AM
Yes. For exam....I could add students max hours daily for all students without any problem.

however, I wanted to have exams for every student on alternate days (to the extent possible i.e. may be with weight 75%).

So, "min days between a set of activities" for every student is what I needed. Isn't it possible to add "show related" checkbox there? Like you have it in activity dialog...

If it is very simple and doesn't take more than 10 minutes of your time, then I request you to add "show related" checkbox there (and any other similar type of constraints).

Anyhow, I will spend 10-15 mins time and write a MATLAB code to constrain the activities of each student. Becuase in actual case there may be 5000 students and I will not be able to add manually (even though the chheckbox feature is introduced)
Title: Re: Potential bug
Post by: Nagendra on June 14, 2019, 12:26:22 PM
Done!

Modify set of constraints at one go has helped a lot in changing the weight %age and test run timetable

The only pending thing in exam scheduling is "Don't print empty days". I think Volker might do something regarding that.
Title: Re: Potential bug
Post by: Liviu Lalescu on June 14, 2019, 12:31:28 PM
Quote from: Nagendra on June 14, 2019, 12:26:22 PM
Done!

This is good!

It is a bit complicated a "Show related" filter, and there are too many places.

Quote
Modify set of constraints at one go has helped a lot in changing the weight %age and test run timetable

I am afraid I do not understand completely. Do you mean generate automatically the code with Matlab?
Title: Re: Potential bug
Post by: Nagendra on June 14, 2019, 12:54:33 PM
Quote from: Liviu Lalescu on June 14, 2019, 12:31:28 PM
I am afraid I do not understand completely. Do you mean generate automatically the code with Matlab?

No, I am talking about the highlighted option in the attachment.

I generated all constraints with 100% weight. I needed to change it step by step (100, 95, 90......) for all constraints to get a possible timetable. Changing the weight manually is completely ruled out. So the option hanging at the bottom saved me. Thanks for including such wonderful options.
Title: Re: Potential bug
Post by: Liviu Lalescu on June 14, 2019, 01:10:17 PM
I see. I knew it was useful :-)