Originally posted by: SystemAdmin
Hi,
I am experiencing an overflow with this message "Computation error: an overflow occurred", the marked constraints that have the problem are as follows:
forall (i in 1..Platform, d in Component, j in Component, k in Product: d!=j)
ct28:
sum (s in 1..Station) (s * PlatformComponentAssignment[s][i][d] ) <= maxint * (3 - ProductInPlatform [i][k] - AddedComponents [i][j][k] - ComponentsInPlatform [i][d]) + sum (s in 1..Station) (s * AddingComponentsAssignment[s][i][j][k]);
forall (i in 1..Platform, d in Component, j in Component, k in Product: d!=j)
ct29:
sum (s in 1..Station) s * PlatformComponentAssignment[s][i][d] <= maxint * (2 - ProductInPlatform [i][k] - Precedence [k][d][j] ) + sum (s in 1..Station) s * PlatformComponentAssignment[s][i][j] ;
forall (i in 1..Platform, d in Component, j in Component, k in Product: d!=j)
ct30:
(maxint * (3 - ProductInPlatform [i][k] - RemovedComponents [i][j][k] - ComponentsInPlatform [i][d])) + sum (s in 1..Station) s * RemovingComponentsAssignment[s][i][j][k] >= sum (s in 1..Station) (s * PlatformComponentAssignment[s][i][d]) ;
what should be done in that case? I was using AMPL as a modeler with CPLEX as a solver for the same model, and I didn't experience that problem!
#DecisionOptimization#OPLusingCPLEXOptimizer