Main Menu

crash with huge file

Started by fourat, September 07, 2024, 05:02:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fourat

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?

Liviu Lalescu


fourat

Good morning
Here are the two messages and the file I talked about

Volker Dirr

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.

Volker Dirr

#4
Liviu: Have a closer look at that file, since even after disabling that constraints, it crashes.

fourat

#5
I deleted these constraints but  the second message reappeared

Volker Dirr

Yes, I just saw that too. We will have a closer look on that.

Liviu Lalescu

You have wrong teachers in the constraints teacher max real days per week.

fourat

I deleted them
always the same problem

Liviu Lalescu

Now you have wrong teacher in constraints teacher max afternoons per week.

Volker Dirr

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?

fourat


fourat

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>

Liviu Lalescu

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.

fourat

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