User Tools

Site Tools


code:ga_scheduling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
code:ga_scheduling [2009/01/11 13:07] – How to add new objective pkubanekcode:ga_scheduling [2009/01/16 13:50] pkubanek
Line 6: Line 6:
  
 Important is to remember that lower constraint violation value means better schedule, and higher objective function value means better schedule. If you come to objective which naturally produces better schedules when lower value is calculated, you can easily change function by using //1/f(x)// instead. Important is to remember that lower constraint violation value means better schedule, and higher objective function value means better schedule. If you come to objective which naturally produces better schedules when lower value is calculated, you can easily change function by using //1/f(x)// instead.
 +
 +In order to use GA scheduling, you will need to fill in database. You will also find it useful to use //pyrts2// to visualise schedule, so you will be able to see how scheduling algorithm behaves.
 +
 +===== Database setup =====
 +
 +//Note: Currently you need to build database from REL_0_8_0 branch. See bellow how to retrieve it.//
 +
 +You need to fill **tickets** and **accounts** tables.
 +
 +^ Field name ^ Description ^
 +| schedticket_id     | integer                     | not null
 +| tar_id             | integer                     
 +| account_id         | integer                     
 +| obs_num            | integer                     
 +| sched_from         | timestamp without time zone | 
 +| sched_to           | timestamp without time zone | 
 +| sched_interval_min | interval                    | 
 +| sched_interval_max | interval       
 +
 +===== Using pyrts2 to preview schedules =====
 +
 +
 +====== Obtaining and modifying code ======
  
 The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue: The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue:
code/ga_scheduling.txt · Last modified: 2009/01/18 00:00 (external edit)