Timetabler icon indicating copy to clipboard operation
Timetabler copied to clipboard

Error parsing constraints

Open nagasai-iitr opened this issue 5 years ago • 1 comments

I have successfully build the project but having this error for this input from the example directory

 nagasai@Nagasai:~/Timetabler/examples/example2$ timetabler -f ./fields.yaml -i 
 ./input.csv -c ./custom.txt -o ./output.csv

ERROR for the above input

 [INFO]    Input is valid
 [ERROR]   ./custom.txt:1:0(0) Error parsing custom constraints

While my custom.txt includes:

COURSE {C1} IN SLOT {D} WEIGHT -1
COURSE EXCEPT {C1, C2} UNBUNDLE NOT IN CLASSROOM {CL2, CL3} WEIGHT -1
COURSE EXCEPT {C1, C4} UNBUNDLE IN SLOT {A, B} WEIGHT -1

nagasai-iitr avatar Feb 19 '20 19:02 nagasai-iitr

did you solve this probelm?

ShadowScripts1 avatar Sep 06 '22 22:09 ShadowScripts1