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 - jakub1982

#1
QuoteI could not replicate this problem on my computer (GNU/Linux), so:

1) it is a temporary problem on your computer, or
2) it is a permanent problem on your computer.

Please try this: src/engine/generate.cpp, line 184, replace with:
             return int(a);

Recompile and tell me if the problem is gone.
If it is gone, please revert to original (modify file again with return a; and make sure you modify this file, so that the compiler will recompile it, so do not use the original file, which has a lower timestamp). Recompile (make sure the compiler will show that it is recompiling this file. Then, check the problem again.

I am sorry, but these suggestions did not solve the problem. I still get the same "Bus erros" in roughly the same moment.
#2
QuotePlease send me your input file and, if possible, a random seed for which you get this error.

Then, try to recompile FET from the beginning ("make distclean", "qmake", "make") and try again to generate.

MAX_DAYS_PER_WEEK is exactly 46?

Maybe you can give more details: FET crashes immediately or after a while?

Yes, MAX_DAYS_PER_WEEK is exactly 46, and this is the only change I made to the original code. I have emailed you the files with terminal output, and the input file (sorry, I prefer not to post this data on the internet). 

The random seed is: X: 1283266493, Y: 473803072.

Thank you for your interest, I really appreciate it.
#3
QuoteMaybe it is possible, then.

You will need to increase in FET the number of days per week (I think you have more than 35) and recompile. Then, you need to enter the data and generate. I will try to help you with advice on specific problems.

I think I found something that appears to be a bug. It manifests when I set "max gaps per day for all teachers" = 0 and try to generate the timetable. When run in terminal the program exits with a message: "Bus error".

My system is MacOS 10.6.

I run a version of fet that has been customized to accept 46 days in a week, exactly the way you described above.

Any suggestions?