Originally posted by: drhachmann
HI GPR, thanks for your answer.
So,
I have n tasks to scheduling on m machines. Each task has a duration depending on the machine where it runs.
The scheduling have granularity of minutes.
For exemple, task A can be allocated on the machine X in interval [15,25] (minutes) and task B can be allocated on the machine X in interval [30,80] (minutes).
The cost for use a machine is charged per hour. So for the example above, would be charged for 2 hours : [15,74], [75,135], although the machine is not used all the time. Like Amazon charges by use their instances (http://aws.amazon.com/ec2/)
Other exemple:
Cost per hour: $0.10
<machine> : <task>[<start,end>] | <total cost>
X : a[45,61] | $0.10
Y: b[125,130], c[150,170] | $ 0.10
Z: d[0,59] | $ 0.10
W: e[55,65], f[115,125] | $0.20
K: f[2, 200]: | $0.40
Total cost: $1.10
How Can I model this?
regards,
Diego Rodrigo Hachmann
#ConstraintProgramming-General#DecisionOptimization