Hi, me and my friend are trying to make a web interface to use FET more easily, and with more features.
The idea is that the user wouldn't ever interact with FET, but FET-CL would receive the inputs from the website, from adding students, teachers, classes, etc., to exporting the timetable back to the website.
We want to use FET entirely through command line. Is there a way to import all that info to fet-cl like you can through the GUI? We would format the files in XML and with the same structure FET accepts.
Hello, Vasllo, and welcome to the forum!
Of course this is possible, and it was actually intended. In fact, you can even compile only FET-CL if you want, and the compile time is much shorter (see src/src-cl.pro file for the necessary source files, and you can compile only FET-CL with "qmake src-cl.pro" and "make" (or "make -j 16" if you have a 16 threads processor)).
Just create a .fet XML file, say named "data.fet", and run "fet-cl --inputfile=data.fet". Run "fet-cl --help" to see more options. You will have in real time the maximum number of reached activities placed, placed in the file "logs/max_placed_activities.txt" in the results directory, and the usual results which you can process.
I edited the message, I forgot about the "--inputfile=" stuff