Decision Optimization

how to writing cplex code

  • 1.  how to writing cplex code

    Posted Mon April 20, 2020 05:41 AM

    Originally posted by: Kylie gp


    Dear Everyone,

    If my project wants to define that task 1 and task 2 have to work in same machine, task 3 and task 4 have to work in same machine, task 5 and task 6 have to work in same machine, task 7 and task 8 have to work in same machine, task 9 and task 10 have to work in same machine, task 11 and task 12 have to work in same machine. My infomations are 12 tasks and 56 machines. I am wondering how I can write constraints cplex code to define tasks? 

     

    thank you.