Hello everyone,
I am modelling a production planning model . It is a MIP model. When I solve the problem on Cplex , I obtain the following values 9.66338120633736e-13
for a variable defined like this:
dvar float s[k][t] in 0..1000000; // inventory value of product k in period t
dvar float x[k][t] in 0..1000000; // production quantity of product k in period t
// D[k][t] the demand of product k in period t
The constraints I believe might cause this problem are those :
forall( b in k)
{
x[b][1]-s[b][1]>=D[b][1];
}
forall(a in t:a>=2, b in k)
{
x[b][a]+s[b][a-1]-s[b][a]>=D[b][a];
}
Why do I get such values ? Thank you so much in advance
------------------------------
milena kafka
------------------------------
#DecisionOptimization