Hi,
I am using cplex to organize tasks. To give you a perspective, I am trying to organize tasks that has relationship with other tasks and also has a lag value (how many days until the next task can start).
If i have the following input in a dat file:
Tasks = {
....
<taskID, status, successor list, successor lag>
...
}
I notice that if I change the order of the list (each task input in the successor list has an input in the lag list), I get different answers.
So my question here is, what are the restrictions that CPLEX has? Do the constraints apply in order? Is there some documentation that I can check to see how cplex work in details?
To give you an example, we have this input:
task = {
...,
...,
<5, 1, <10, 7, 11, ...>, <284, 0, 0, ....>>
...,
}
would give me larger result because it tries to optimize task 10 before task 11 or task 7 which has lag 0.
if I change the input to this, it gives me better result:
<5, 1, (7, 11, 10,...), (0,0,284,...)>
it seems weird that the order matters given that I assume cplex should look at all the input and optimizes the solution based on all the data it has, not by first come first serve basis.
------------------------------
Mohannad Mostafa
------------------------------