Originally posted by: Abousedera
I have 3 resources and 4 cloud providers. I would like to know which provider is the cheapest one, for all products combined. Cplex can't find a solution because there is a problem with the constraints.
|
|
CP1
|
CP2
|
CP3
|
CP4
|
|
Resource1
|
10
|
20
|
25
|
30
|
|
Resource2
|
20
|
10
|
40
|
20
|
|
Resource3
|
25
|
10
|
30
|
10
|
|
Total Summation
|
55$
|
40$
|
95$
|
60$
|
The result of the is LP is "CP2" because it has minimum summation of the costs. I am not sure if the constraints are correct or not, because I don't get a solution at all.
Here is the mathematical model, where "r" is resources, "c" is cost, "p" is provider and "X" is decision variable
#CPLEXOptimizers#DecisionOptimization