Re: [tablix-list] Hard Timetables

From: Nicholas Robinson <nprREMOVE@THISbottlehall.co.uk>
Date: Thu Jun 09 2005 - 20:02:50 CEST

Patch for consecutive.c

BW

N

On Wednesday 08 June 2005 18:10, Tomaz Solc wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> > Paring down the problem, it seems that it is the high incidence of double
> > lessons combined with zero free lessons for classes and very few free
> > lessons for teachers. Of these, it always seems to be the doubles
> > (especially those that are 'same-time-as' another class or three) that
> > contribute the largest number of contributions to the fitness score.
>
> I think part of the problem is in your "consecutive.so" module. I've
> made a very simple ttf test case for it (consecutive-1.xml) and Tablix
> only finds a solution in 3 of 10 tries. The fitness function should
> probably be rewritten so that it would not try to enforce a specific
> order of tuples (see my earlier post).
>
> I haven't yet looked at your "forcesametime.c" module though.
>
> > So, if I can schedule the doubles as just described and then somehow
> > alter the configuration file for the remaining lessons to include the
> > doubles as fixed then I think I will be able to use tablix for real.
>
> This is probably the best way to do it right now.
>
> I've made a few remarks in the Wiki about how this problem could be
> handled better in future versions (see bottom
> http://www.tablix.org/wiki/wiki.pl?Tablix_0.2.0)
>
> > 2. The 'fixed-period' handler would be implemented so that it removed all
> > other time, class, room and teacher resources in the resource domains for
> > the appropriate event tuple.
>
> This module is similar to fixed.c example in the Modules HOWTO.
>
> Best regards
> Tomaz Solc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCpyaUsAlAlRhL9q8RAifBAJ9d/Nf6XEDoVRO+tBG+f6XvYTtzkQCgtt4Z
> GWbsQniVVhnkKnlbZiD5AC0=
> =h7b0
> -----END PGP SIGNATURE-----

-- 
Fight Prejudice - Fight the Ban (see www.countrysidealliance.org)

Received on Thu Jun 09 20:02:18 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:43:56 CEST