Originally posted by: kashifjadoon
Can anybody help me with the following problem:
I have a matrix X that contains 24 rows and 5 columns. The first column contains time with the respective rows in the format 1:00 till 24:00. For each time there are four values associated with that particular hour. The last column contains 0:
Time column 1 column 2 column 3 column 4
01:00 1000 1500 800 0
02:00 300 100 200 0
03:00 600 500 1500 0
. . . . 0
. . . . 0
. . . . 0
24:00 700 1000 600 0
From columns 2,3,4 and 5 Six consecutive values can be selected, example from time 01:00 to 06:00 say column 2 then time 07:00 to 12:00 say column 1, then time 13:00 to 18:00 say column 1 and from 19:00 to 24:00 say column 1.
I want to find the overall minimum values for 24 hours with the constraint that six consecutive values from each four columns and no column is selected twice or thrice..
Can somebody help me in this regard.
I will be very thankful if someone can provide me the mathematical equation.
#CPLEXOptimizers#DecisionOptimization