Hello everyone,
When I solve my MIP model by cplex solver, I face a behaviour that I can not understand. When the instances are ran by opl flow control, in .dat file I write "Files={"Ins_1.dat","Ins_2.dat","Ins_3.dat","Ins_4.dat","Ins_5.dat"}; and cplex produce "No solution for each. When I test the instances one by one, cplex says that :
Row 'const3(1)' infeasible, all entries at implied bounds for any instance and it relaxes some constraints and goes on to solve the problem instead of stopping as it did in flow control. My first question: "why it happens when I test the instances one by one and why it does not relax the model when they are tested successively in flow control ?
Second question (which disturbs me a lot). When the model is relaxed in the second (one by one version) it relaxes
s variable to the negativity, which must not be the case. The sum of the s[d][a] must be 1. and we define it as dvar float s[t][l] in 0..1. How it can relax it and solve the problem when s[d][a]=-1,2.. ou -4 . I do not understand what is happening and how can I get rid of it ?
forall(a in t)
{
const1: sum(d in t:d<=a)s[d][a]==1.0;
}
forall(a in t)
{
const3: (( sum(d in t:d>=a )s[a][d]*D[d])) <=cap[a];
}
Thank you in adcance.
------------------------------
milena kafka
------------------------------
#DecisionOptimization