Topic
  • 1 reply
  • Latest Post - ‏2013-05-29T16:34:39Z by rdumeur
Mintch Zulitch
Mintch Zulitch
5 Posts

Pinned topic Imposing priority in sequencing jobs in CP Optimizer

‏2013-05-28T07:16:26Z |

Hello,

Is it possible to give priority for sequencing jobs on one machine ? e.g. if a job has a high priority ID , CP optimizer should take that job first and then others. I'm working on paper declaring that if a job gets a scrap tag, then it must be returned to workstation but with highest priority among other ordinary jobs. Also, I'm deploying Java API of CP optimizer.

Thanks in advance,

Updated on 2013-05-28T07:44:12Z at 2013-05-28T07:44:12Z by Mintch Zulitch
  • rdumeur
    rdumeur
    70 Posts
    ACCEPTED ANSWER

    Re: Imposing priority in sequencing jobs in CP Optimizer

    ‏2013-05-29T16:34:39Z  

    Dear 0372_Mintch_Zulitch

    The easiest way to do this is to specify a cost in term of endOf(interval)

    minimize sum(i in 1..n) (endOf(intervals[i])*weight[i]);

    will favor solutions where intervals with high weight will be scheduled earlier than those with lesser weights.

    I hope this helps,

     

    Cheers,

  • rdumeur
    rdumeur
    70 Posts

    Re: Imposing priority in sequencing jobs in CP Optimizer

    ‏2013-05-29T16:34:39Z  

    Dear 0372_Mintch_Zulitch

    The easiest way to do this is to specify a cost in term of endOf(interval)

    minimize sum(i in 1..n) (endOf(intervals[i])*weight[i]);

    will favor solutions where intervals with high weight will be scheduled earlier than those with lesser weights.

    I hope this helps,

     

    Cheers,