I am currently trying to code a MIP problem in c#. I have one machine which does two types of tasks, these tasks take place in different locations. These locations are basically slots in racks. I am trying to find the best locations in order to minimize the makespan of the machine.
As I am very new to programming and cplex I am finding it very hard to find the best algorithm and how to define my data. I am assuming I can define the type of tasks as two different sets 1....n , but how I can define the positions, the positions have coordinates ( example column 1 row 3) . Should I define them as a matrix ?
As for the algorithm, I am assuming is a simple one-machine scheduling problem, but haven't find something similar, to boost me somehow.
Thank you in advance.