max hours daily for an activity

Started by Nikos Koutsoukos, September 19, 2009, 09:14:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nikos Koutsoukos

You can do it what you like. I have no copyright problem.

Nikos

Liviu Lalescu

What is the country and city and name of institution? (In Latin characters). What kind of institution?

Nikos Koutsoukos


Liviu Lalescu

Constraints activity tag max hours daily:

This constraint is not implemented perfectly, and I cannot make that. If not used properly, it may bring impossible timetables or very low speed of generation. So, I decided that it will not be available by default. Instead, the user will need to modify a special variable and recompile.

I am sorry.

Let me know what you think.

Nikos Koutsoukos

May be you can put it as an option and warn the user of the proper use of the constrain.
But if you decide not to have that constrain it is OK for me
I am sure you did your best.

Thank you anyway
Nikos
 

Liviu Lalescu

QuoteMay be you can put it as an option and warn the user of the proper use of the constrain.
But if you decide not to have that constrain it is OK for me
I am sure you did your best.

Thank you anyway
Nikos
 

I did that way, please get the latest snapshot and tell me what you think. There is an option in the settings to enable such constraint.

Nikos Koutsoukos

I tried to generated the timetable (the one that I send you with the 417 activities) with the last snapshot (13-oct-2009)
The first time it makes more than 15 minutes to generate and I stop it.
The second time it finished successfully in 11 minutes
The third time it finished in successfully in 5 minutes.

With the older snapshot (22-sept-2009) it took 24 minutes (one try).
With the previous snapshot (2-oct-2009) it took 4.5 minutes (one try).

I do not know if this is normal or if the "max hours daily for an activity tag" is the reason of the generation time to vary so much.

The program is working fine I did not see any bug.

Only that if I disable the constrain from the settings it still load and generate the fet file that already has the constrain.

I think that the warning is enough. The option is not necessary and the constrain can be enable all the time. I think this is easier for the user. You can check before the generation if there is the constrain or not and run the correct code.    

But if you leave it as it is it is OK with me.
I do not make any request
I think you do more than enough and I want to thank you for that.

Nikos

Liviu Lalescu

High variation in generation time is normal, even without this constraint. I have some file to solve in 2 minutes or in 5 hours :-) (sample Romania/Oradea/Friedrich Schiller).

I prefer that if the file has the constraints, it also loads them, no mater of activated in the menu or not.