Build a server with FET

Started by DucBeNho, February 19, 2025, 02:43:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DucBeNho

Hi.

Im new and i want to build a server with FET, this server will take my XML file and then gives me a result of timetable after generated. My XML file will be created in my app, i can debug this process.
My problem is: How can i debug process of generating timetable with FET server? Pls give me a suggestion.

Many thanks.
User from Vietnam.

Liviu Lalescu

Hello, and welcome!

You could use fet-cl. It writes information in some files and on the console as the generation proceeds. You could use "fet-cl --inputfile=yourfilename.fet --verbose=true".

DucBeNho

I have problem. The output result of timetable is XML file, I will take it and show in my app. But how about list of error? how can I get it after generated?
Thanks.

Liviu Lalescu

Do you mean the soft conflicts? There is a txt file.

DucBeNho

How about error like this, Can I get such error information in file?

Liviu Lalescu

It should appear in the logs directory, errors.txt.

DucBeNho

I don't understand what you mean, is this errors.txt file already exist or I have to create it, because I can't find it in the results folder

Liviu Lalescu

Not in the results folder, but in the logs folder. I just checked, it appears there, no need for you to create it. Or, in case of warnings, warnings.txt I think.

DucBeNho

#8
Hi,

I have a question. What happen if I remake a timetable with all activities that have locked and have already constraints?
I mean after generated, I lock all activities and generate again.
Can it will be created faster than before?

Liviu Lalescu

Hello, DucBeNho,

Yes, sure, it should solve in 1 second. But why don't you try it and see?

DucBeNho

#10
Because my timetable data is very simple, it always takes only 1 second to solve.
I want to evaluate after generated  with huge timetable data, users want to swap 2 activities.
I will resend the XML file but this time all activities will be locked, 2 activities have to swap will be locked in place of each other.

Liviu Lalescu

Oh, I see.

You might want to deactivate all the other constraints, like max hours daily, etc., without the basic ones, so that the timetable is solvable with the swap.