Possibility to save a solution

Started by gesamtschule, April 05, 2008, 05:15:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gesamtschule

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.

Liviu Lalescu

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.

gesamtschule

#2
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.

Liviu Lalescu

The program is very fast on an already computed and saved timetable, only a few seconds. It saves CPU.

gesamtschule

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?


Liviu Lalescu

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.

gesamtschule

Great!
Sorry I didn't saw the .fet-file at the first time . But of course it exists :-)

Liviu Lalescu

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.