I generated using a program I made and from a smaller file template a very large fet file
a message when opening which indicates that certain constraints are false even though they exist in the model file and a crash when I start the generation
how can I attach the file and a screenshot?
You can attach here.
Good morning
Here are the two messages and the file I talked about
It is only a small file.
You must fix the bug that is written in the warning.
You added constraints for activity tags, but there are no activities that use that tags.
Just disable that constraints from the warnings.
Liviu: Have a closer look at that file, since even after disabling that constraints, it crashes.
I deleted these constraints but the second message reappeared
Yes, I just saw that too. We will have a closer look on that.
You have wrong teachers in the constraints teacher max real days per week.
I deleted them
always the same problem
Now you have wrong teacher in constraints teacher max afternoons per week.
Did you wrote the fet file yourself (so by a text editor, an own software/script/...)? Or did you produce the wrong fet file by using the fet interface?
yes with a program that I made
Quote from: Liviu Lalescu on September 07, 2024, 11:59:17 AMNow you have wrong teacher in constraints teacher max afternoons per week.
Is this the exact syntax?
<ConstraintTeacherMaxAfternoonsPerWeek>
<Weight_Percentage>100</Weight_Percentage>
<Teacher>أسماء بن يوسف</Teacher>
<Max_Afternoons_Per_Week>4</Max_Afternoons_Per_Week>
<Active>true</Active>
</ConstraintTeacherMaxAfternoonsPerWeek>
I don't know exactly for which teacher it crashes.
To see the syntax, add this constraint in FET interface and save the fet file.
that's what I did
I edited the constraints in fet then saved them
and I reopen the file in notepad++ to copy the moodele and the rules into the script (program) that I made to generate the fet file
I asked myself the question the problem comes from the fact that the time constraints are shredded I mean that they are not grouped by category