FET Forum

FET Development => Suggestions => Topic started by: gesamtschule on April 05, 2008, 05:15:40 PM

Title: Possibility to save a solution
Post by: gesamtschule on April 05, 2008, 05:15:40 PM
It would be great to have the possibility to save a calculated result. So you can calculate the timetable on a powerful server and analyze it on a smaller device. Analyzing means to use he menus Timetable -> View (teachers).  I don't know how complicated this is in C in Java this isn't a problem. If you implement this feature it would be become possible to change the html-report-settings.
At least the user should be able to generate the same timetable twice.

Just a short idea: Perhaps you can implement a webservice to get the result http://ws.apache.org/axis/cpp/index.html (I hope axis make the serialization for you). Than it is easier to save the result with another tool.
Title: Re: Possibility to save a solution
Post by: Liviu Lalescu on April 05, 2008, 05:20:48 PM
It is an option in Timetable menu -> Save data + timetable as, so you can open a file and generate the same timetable later. This works after you generate a timetable. Please let me know if you find it.

I am now working on automatic saving of the data+timetable when generating multiple.
Title: Re: Possibility to save a solution
Post by: gesamtschule on April 05, 2008, 09:32:11 PM
Yes after update to the current version 5.5.1 -> 5.5.3 I found it. Unfortunately it only solve the problem to make a timetable reproducible not to save cpu-time  on a small device. But perhaps the program is fast enough if calculate a solved timetable with fixing constraints.

Thanks for the quick response.
Title: Re: Possibility to save a solution
Post by: Liviu Lalescu on April 06, 2008, 06:50:48 AM
The program is very fast on an already computed and saved timetable, only a few seconds. It saves CPU.
Title: Re: Possibility to save a solution
Post by: gesamtschule on April 14, 2008, 07:57:05 AM
Hi the solution looks fine for me :-) Never the less one further question. If I calculated more than one solution, which one will be saved? The last? How can I saved all solutions?

Title: Re: Possibility to save a solution
Post by: Liviu Lalescu on April 14, 2008, 08:40:07 AM
If you generate single, you have to save the timetable to a file by yourself, specifying the name of the file.

If you generate multiple, you'll get a directory with each timetable. In each directory there will be the .html, .xml and .fet timetables.
Title: Re: Possibility to save a solution
Post by: gesamtschule on April 14, 2008, 10:05:36 AM
Great!
Sorry I didn't saw the .fet-file at the first time . But of course it exists :-)
Title: Re: Possibility to save a solution
Post by: Liviu Lalescu on April 14, 2008, 10:10:11 AM
It was added recently, in version 5.5.4, so previous versions didn't save it and maybe that is why you didn't see it.