Simulation/constraints

Started by Mejda, July 23, 2012, 09:09:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mejda

Hello,
I added a module to FET but when I compile , this  takes a long time and the following messages are displayed
Quoteconstraints after first pass (after removing inactive ones)
  1 time constraints after second pass (after removing wrong ones)
1 space constraints after first pass (after removing inactive ones)
  1 space constraints after second pass (after removing wrong ones)
please  I have not known where the problem is.
thank you :)

Liviu Lalescu

#1
Since I know you wanted to add level 4 of students, maybe you made some mistakes there and it takes too much time. FET tells you that you have only one constraint for time and space, this is normal only if the file has only basic constraints.

Maybe you can send your code, but I cannot guarantee I will be able to read, if it is too much.

PS: I will be unavailable (as I wrote on http://lalescu.ro/liviu/fet/forum/index.php?topic=1195 ), also Volker will be unavailable, sorry  :(      I hope other users might help you with advice.

Mejda

#2
hello,
I send you my sode in 2 part because I have a problem of size
:)

Mejda

#3
Hello,
first part of interface :)

Mejda

#4
interface second part

Liviu Lalescu

I'll see if I can spot the problem. But I hope you realize that you wrote your ftp password in the files. You can remove the attached files or I can remove them myself, if you want. (If there is only 1 download to each file, it is my download.)

Liviu Lalescu

Please also attach the file src.pro from src/ directory.


Mejda

please Liviu remove them if you can :) I forget them :(

Liviu Lalescu

Quote from: Mejda on July 23, 2012, 02:44:07 PM
please Liviu remove them if you can :) I forget them :(

:(  I removed them. Only I saw them (the download count for them was 1). I will remove your files from my hard disk after I check your problem or after some more time.

Mejda


Liviu Lalescu

The simulation stops because in timetablegenerateform.cpp in function start you commented the function calls to start the generation.

But this is not all. I tried generate multiple and I got a crash, so you have other problems.

I have some suggestions to you: to name the students level 4 as subsubgroups, or maybe better years->subyears->groups->subgroups. In the latter case you can keep the current subgroup notation in generate.cpp and you won't need to modify too much the engine. Because generate just works with subgroups.

Mejda