Maxwel-Odhiambo / unitime

Automatically exported from code.google.com/p/unitime
0 stars 0 forks source link

Cannot assign time pattern when editing class configuration #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
All steps, I suppose, in order to create a timetable.

What is the expected output? What do you see instead?

A timetable is expected but the solver operation fails with the following 
information:

05/14/15 15:55:08.864 Loading input data ...
05/14/15 15:55:08.892 WARNING: Class AGCR 001 Lec 1 has no time pattern 
selected (class not loaded). If not changed, this class will be treated as 
Arrange 2 Hours.
05/14/15 15:55:08.917 WARNING: Class AGDD 002 Lec 1 has no time pattern 
selected (class not loaded). If not changed, this class will be treated as 
Arrange 2 Hours.
05/14/15 15:55:08.940 WARNING: Class AGEHP 003 Lec 1 has no time pattern 
selected (class not loaded). If not changed, this class will be treated as 
Arrange 2 Hours.
05/14/15 15:55:08.955 WARNING: Unable to load room availability, reason: no 
dates

05/14/15 15:55:08.959 Student Enrollments Check
05/14/15 15:55:08.959 Model successfully loaded.

05/14/15 15:55:08.960 Awaiting commands ...

05/14/15 15:56:49.282 Solving problem ...
05/14/15 15:56:49.284 ERROR: Nothing to solve. 

Assuming the first warning may cause the final error, I tried to add time 
pattern to the classes. But when editing a class, I cannot specify a time 
pattern even though several time patterns have been defined previously.

What version of the product are you using? On what operating system?

3.5

Please provide any additional information below.

Original issue reported on code.google.com by pymetair...@gmail.com on 14 May 2015 at 8:36

GoogleCodeExporter commented 8 years ago
One or more time patterns can be assigned to a class on the Class Edit page or 
the Scheduling Subpart Edit page. However, only time patterns with matching 
number of minutes per week are displayed in the drop down. This means that the 
minutes per week that is set on the scheduling subpart must be equal to the 
number of meetings times the number of minutes per meeting of the time pattern. 
For instance, the 3x50 time pattern can only be used by classes that have 150 
minutes per week.

Original comment by mul...@unitime.org on 15 May 2015 at 12:12

GoogleCodeExporter commented 8 years ago
Thanks for this explanation. It works fine now.

Original comment by pymetair...@gmail.com on 15 May 2015 at 8:47