Originally posted by: vahid_mlkr
Thanks for the reply
I will try to re-phrase my question
My problem is a minimization problem. It is a task-resource assignment problem
For testing purposes I have given a set of data to the system in a way that after assignment I can calculate the result by hand manually too. For validation purposes only
What I have calculated based on the assignment results, was 0.0000499
The CPLEX gives that result as well, but as you can see it has added the Best Integer to it as well that I can't understand why. I was expecting to see 0.0000499 as the result of my objective function. but I see 0.0115499
===================
Regarding the 2nd part (cumulative)
once the cplex completed its work at T1, it moves to T2 and the model is re-constructed and it does the assignment based on the tasks at T2.
The test was in a way (small enough) that I can calculate the results by hand to check them.
So, the cplex does the job, finds the objective function results and adds it to the one he found in T1,
So, what is appearing at T2 (image 4: 0.0160979), the 0.0160 is the best integer, and the 0.0000979 is the summation of the objective function resulted in T1 + T2 which I am fine with that, So, at T2 the objective function result was something around 0.0000479 that when it is added to T1 results (~0.0000500), it become 0.0000979, I have calculated both (0.0000500) and (0.0000479) by my self and it is correct. I mean once I saw the assignment decisions, then I calculated the function and it is fine.
BUT, this is not the case at T3 (image 5 and 6), as u can see, the best Integer is being printed as usual, but the rest of the result is not really match with what I had given to the system
Hope the description is a little bit more clear, please let me know if further explanations are needed
======================
Regarding the time, the getCplexTime() is is seconds, is that the same for the getDetTime() or is it in milli seconds ? Because obviously I didn't wait 189.56 seconds (image 6) to get the results. Which one is the "time" that I have to consider about the time it take for cplex to solve the model/problem ?
======
Many thanks
#CPLEXOptimizers#DecisionOptimization