Hello,
I have been testing the LinearOptimization service offered by Google and I built a simple model to test the application. Unfortunatelly I have been getting always the following responce: Status: ABNORMAL.
Before leaving the application I would like to figure out if the model is formellement correct.
Is there someone who can help me?
here below the model:
obj. Min: + sA-0+ sA-1+ sA-2+ sA-3+ sA-4+ sA-5+ sB-0+ sB-1+ sB-2+ sB-3+ sB-4+ sB-5+ sC-0+ sC-1+ sC-2+ sC-3+ sC-4+ sC-5+ sD-0+ sD-1+ sD-2+ sD-3+ sD-4+ sD-5
0 <= + pA-0 + 5 * sA-0<= 5
0 <= + pA-0 + pA-1 + 15 * sA-1<= 15
0 <= + pA-0 + pA-1 + pA-2 + 30 * sA-2<= 30
0 <= + pA-0 + pA-1 + pA-2 + pA-3 + 50 * sA-3<= 50
0 <= + pA-0 + pA-1 + pA-2 + pA-3 + pA-4 + 100 * sA-4<= 100
0 <= + pB-0 + 0 * sB-0<= 0
0 <= + pB-0 + pB-1 + 20 * sB-1<= 20
0 <= + pB-0 + pB-1 + pB-2 + 20 * sB-2<= 20
0 <= + pB-0 + pB-1 + pB-2 + pB-3 + 60 * sB-3<= 60
0 <= + pB-0 + pB-1 + pB-2 + pB-3 + pB-4 + 60 * sB-4<= 60
0 <= + pC-0 + 0 * sC-0<= 0
0 <= + pC-0 + pC-1 + 0 * sC-1<= 0
0 <= + pC-0 + pC-1 + pC-2 + 60 * sC-2<= 60
0 <= + pC-0 + pC-1 + pC-2 + pC-3 + 60 * sC-3<= 60
0 <= + pC-0 + pC-1 + pC-2 + pC-3 + pC-4 + 130 * sC-4<= 130
0 <= + pD-0 + 10 * sD-0<= 10
0 <= + pD-0 + pD-1 + 25 * sD-1<= 25
0 <= + pD-0 + pD-1 + pD-2 + 25 * sD-2<= 25
0 <= + pD-0 + pD-1 + pD-2 + pD-3 + 90 * sD-3<= 90
0 <= + pD-0 + pD-1 + pD-2 + pD-3 + pD-4 + 90 * sD-4<= 90
100 <= + pA-0 + pA-1 + pA-2 + pA-3 + pA-4<= 100
60 <= + pB-0 + pB-1 + pB-2 + pB-3 + pB-4<= 60
130 <= + pC-0 + pC-1 + pC-2 + pC-3 + pC-4<= 130
90 <= + pD-0 + pD-1 + pD-2 + pD-3 + pD-4<= 90
thanks in advance for your help
best regards
I have been testing the LinearOptimization service offered by Google and I built a simple model to test the application. Unfortunatelly I have been getting always the following responce: Status: ABNORMAL.
Before leaving the application I would like to figure out if the model is formellement correct.
Is there someone who can help me?
here below the model:
obj. Min: + sA-0+ sA-1+ sA-2+ sA-3+ sA-4+ sA-5+ sB-0+ sB-1+ sB-2+ sB-3+ sB-4+ sB-5+ sC-0+ sC-1+ sC-2+ sC-3+ sC-4+ sC-5+ sD-0+ sD-1+ sD-2+ sD-3+ sD-4+ sD-5
0 <= + pA-0 + 5 * sA-0<= 5
0 <= + pA-0 + pA-1 + 15 * sA-1<= 15
0 <= + pA-0 + pA-1 + pA-2 + 30 * sA-2<= 30
0 <= + pA-0 + pA-1 + pA-2 + pA-3 + 50 * sA-3<= 50
0 <= + pA-0 + pA-1 + pA-2 + pA-3 + pA-4 + 100 * sA-4<= 100
0 <= + pB-0 + 0 * sB-0<= 0
0 <= + pB-0 + pB-1 + 20 * sB-1<= 20
0 <= + pB-0 + pB-1 + pB-2 + 20 * sB-2<= 20
0 <= + pB-0 + pB-1 + pB-2 + pB-3 + 60 * sB-3<= 60
0 <= + pB-0 + pB-1 + pB-2 + pB-3 + pB-4 + 60 * sB-4<= 60
0 <= + pC-0 + 0 * sC-0<= 0
0 <= + pC-0 + pC-1 + 0 * sC-1<= 0
0 <= + pC-0 + pC-1 + pC-2 + 60 * sC-2<= 60
0 <= + pC-0 + pC-1 + pC-2 + pC-3 + 60 * sC-3<= 60
0 <= + pC-0 + pC-1 + pC-2 + pC-3 + pC-4 + 130 * sC-4<= 130
0 <= + pD-0 + 10 * sD-0<= 10
0 <= + pD-0 + pD-1 + 25 * sD-1<= 25
0 <= + pD-0 + pD-1 + pD-2 + 25 * sD-2<= 25
0 <= + pD-0 + pD-1 + pD-2 + pD-3 + 90 * sD-3<= 90
0 <= + pD-0 + pD-1 + pD-2 + pD-3 + pD-4 + 90 * sD-4<= 90
100 <= + pA-0 + pA-1 + pA-2 + pA-3 + pA-4<= 100
60 <= + pB-0 + pB-1 + pB-2 + pB-3 + pB-4<= 60
130 <= + pC-0 + pC-1 + pC-2 + pC-3 + pC-4<= 130
90 <= + pD-0 + pD-1 + pD-2 + pD-3 + pD-4<= 90
thanks in advance for your help
best regards