Hello Stefan, He and David,
I tried to experiment solution proposed by Stefan, using both SoftRouteConstraint and objective function: sometimes it works sometimes not.
Let me explain:
I need priority jobs to make sure these jobs are done roughly at the beginning of the sequence, e.g. top 25% of all jobs (this is not an hard constraint). So I implemented SoftRouteConstraint returning negative cost for these priority jobs. Then I implemented the objective function to minor cost when priority jobs are within the top sequence.
Sometimes it provide good results (priority jobs are well within the starting sequence), but this is not consistent because in the objective function which provides all routes, some jobs never vary (always stays at the same order in the sequence) within all routes, so obviously the implementation of objective function has no effect if this is the priority job which stays at the same order. I'm using schrimpf algo (best insertion) maybe this algo is not capable to provide enough various route to let a chance schedule high priority jobs at the starting sequence? How to configure the algo to provide more route "variation"?
Hope this is clear, if not, please let me know.
Thanks,
Martin