You are not logged in.
Pages: 1
I thought about it from a different perspective, so I did this table:
O P L T A Price
H x1 x2 x3 100
G x4 x5 x6 120
O x7 129
P x8 125
L x9 110
T x10 88
A x11 97
Avail. 32000 25000 21000 18000 27000 Availability
Cost 94 87 73 47 68
per kg
Revenue per juice
Juice H
C1 = 100 - 87 = 13
C2 = 100 - 73 = 27
C3 = 100 - 68 = 32
Juice G
C4 = 120 - 94 = 26
C5 = 120 - 87 = 33
C5 = 120 - 73 = 47
Juice O
C7 = 129 - 94 = 35
Juice P
C8 = 125 - 87 = 38
Juice L
C9 = 1|0 - 73 = 37
Juice T
C10 = 88 - 47 = 41
Juice A
C11 = 97 - 68 = 29
So the goal function whould be:
Z = 13x1 + 27x2 + 32x3 + 26x4 + 33x5 + 47x6 + 35x7 + 38x8 + 37x9 + 41x10 + 29x11
Contraints or restrictions:
x4 + x7 <= 32000
x1 + x5 + x8 <= 25000
x2 + x6 + x9 <= 21000
x10 <= 18000
x3 + x11 <= 27000
And here's where I think I have the problem:
x1 <= 0.20x1 If I work this ecuation
x1 - 0.20x1 <= 0
0.80x1 <= 0 <- this would be the result
The next ones already worked out:
0.9x2 >= 0
0.50x3 <= 0
0.60x4 <= 0
0.75x5 <= 0
0.65x6 <= 0
If I enter those values in QM for Windows, the value for X is 0.
I think the problem is with the restrictions, but I don't know what else to do...
Thanks!
Pages: 1