Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rodolforg

#1
@Corfiot,

my custom fet have a constraint that forces a minimal time interval without activities within a time span.
Example: From 11am until 13am a/all teacher(s)/student_set(s) have minimum 60min "break".

It was discussed here: https://lalescu.ro/liviu/fet/forum/index.php?topic=3073.0
#2
I like the icons.

What about to add a single space/tab before subgroup names?
#3
Suggestions / Re: Group of groups
June 09, 2018, 12:47:26 AM
Quote from: Liviu Lalescu on June 07, 2018, 08:16:42 PM
Indeed, this might be a useful feature. I am not sure if it will be a bit difficult to implement. I think I might give it a try in the next days, if Volker agrees.

May the group label is a checkbox for (de)selecting all?
It could allow year/group multiple selection. The effect would be add their subgroups to Subgroups ListBox
#4
Report a Bug / Re: Fet Cli language
May 17, 2018, 03:48:15 AM
Quote from: Liviu Lalescu on May 16, 2018, 04:44:00 PM
Quote from: raducostea on May 16, 2018, 04:20:46 PM
With fet-cl is there a way to get the number of constraints that were not met? Like a resume?

I am not sure I understand correctly, but I think the answer is 'No'. You can only send the process the "SIGTERM" signal and it will output the current and the highest-stage timetables (two timetables).

Hmm... I think he could mean "summary"/"résumé" not "resume", a "false friend" for romance language speakers, like Portuguese, Spanish and French.
#5
In Brazil, it has no fixed date, but it starts in February until beginning of July. It resumes in August until December - then come holidays and summer vacations.

College usually starts in March, but February is a possibility.
#6
Oh, right. The ::fitness() method.
#7
Quote from: Liviu Lalescu on April 16, 2018, 01:59:08 PM
Yes, and number of conflicts computation.

What do you mean?
#8
I think it's just a change in GeneratePre (besides GUI and file read/write stuff).
#9
Thank you for clarifications, Liviu.
#10
Quote from: Liviu Lalescu on April 15, 2018, 08:59:37 PM
it would use a not FET-like notation.

I don't think it needs to change the constraint names. Just add the 'exception' field.
#11
That's for sure, Benahmed.
As far as I understand:
1. the algorithm randomly places an activity in the timetable,
2. then checks if there is any constraint conflict;
3. if a constraint is broken, it randomly chooses to remove one of conflicting activities
#12
Exactly, Volker.

All teachers _but_ [select exceptions]
#13
Is there any reason to put an "All teachers*" 'except' field?
#14
> Min days per week for a teacher

The teacher must work X days at a minimum.

Suppose a week has 5 days: Mo, Tu, We, Th, Fr.
Teacher has 8 activities.
That constraint is set to 3 minimum days.

His activities can be placed as:
Mo: 2 activities no matter at what time
Tu:  2 activities no matter at what time
We:  2 activities no matter at what time
Th:  2 activities no matter at what time
Fri: none

(4 work days)

or

Mo: 5 activities no matter at what time
Tu:  none
We:  none
Th:  2 activities no matter at what time
Fri: 1 activity no matter at what time

(3 work days)

or

Mo: 3 activities no matter at what time
Tu:  1 activity no matter at what time
We:  1 activity no matter at what time
Th:  2 activities no matter at what time
Fri: 1 activity no matter at what time

(5 work days)

but NOT this case:

Mo: 4 activities no matter at what time
Tu:  none
We:  none
Th:  4 activities no matter at what time
Fri: none

(< 3 work days)




The other constraint is completely unrelated:
Start time: 9h
End Time: 11h
Max days: 3
Number of activities assigned to teacher: 8

This is a valid solution:
Mo [9h, 10h, 11h]: 2 activities
Tu [9h, 10h, 11h]:  none
Tu (rest of day) : 1 activity
We [9h, 10h, 11h]:  none
We (rest of day) : 1 activity
Th [9h, 10h, 11h]:  4 activities
Fri [9h, 10h, 11h]: none

working days: 4 (Mo, Tu, We and Th)
working at 9~11h: 2 days only (Mo and Th)

this is NOT a solution:
Mo [9h, 10h, 11h]: 2 activities
Tu [9h, 10h, 11h]:  none
We [9h, 10h, 11h]:  1 activity
We (rest of day) : 1 activity
Th [9h, 10h, 11h]:  2 activities
Fri [9h, 10h, 11h]: 1 activity
Fri (rest of day): 1 activity

working days: 4 (Mo, We, Th and Fri)
working at 9~11h: 4 (Mo, We, Th, Fri) > 3 allowed days in 9h~11h timeslot window
#15
OK. Now I get what it though the constraint means.

This constraint name is:
A teacher works in an hourly interval max days per week   - The focus is to limit the number of busy days in that time range

not:
A teacher only works in an hourly interval

You should use instead:
Teacher Not Available Times

And mark when teacher cannot work (each hour/period specifically) ;)