Dear Mark, I am sometimes simply checking the percentage of the variables (FD and FS) already determined. I even added an explorer action for that, so I can learn with a click how far some space got if things seems "stalled" at times.
Best Torsten On Feb 15, 2009, at 9:05 AM, mark richardson wrote:
I have a program which uses finite sets to schedule a college timetable. The solution is stored in a list of finite sets, each set representing a timetabled class and containing the students allocated to that class. What I want is some form of progress indicator to reflect the progress of the solution. My initial thought was something along the lines of 'FS.reflect.unknown' to get a total of undetermined values in each set, then total them and use the final total displayed in a text box. The total should, I imagine, keep reducing in general until it reaches zero. Would this badly affect the total run-time for the solution though? The total solution at the moment takes around 20 seconds so a 50% increase in run-time wouldn't be too bad. Can anyone suggest a simpler method? The progress indicator doesn't have to be precise, just a rough guide to the time left. But it mustn't Regards Mark Richardson -- Mark Richardson Final year undergraduate University of Teesside ______________________________________________________________________ ___________ mozart-users mailing list mozart- [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
