Originally posted by: Bahman
Hello everybody,
On the course of running my model, various errors like C0000005 EXCEPTION_ACCESS_VIOLATION and UNEXPECTED CPLEX ERROR 5002: Q IS NOT POSITIVE SEMI-DEFINITE popped up, two of which are still remaining:
1) cannot extract expression Ct ... &
2) not enough memory
(Image attached)
I have a binary decision variable: X[<i,j,tc>][k][t] and an integer variable: d[k][g] whose lower-bound is 0 and its upper-bound is float D[k][g].
In order to linearize my problem to avoid the error 5002, I defined an expression: dexpr float Z[<i,j,tc> in Arcs][k in K][t in T][g in G]=X[<i,j,tc>][k][t]*d[k][g]; Then added two more constraints as follows:
forall (k in K,g in G)
CtBoundsOnZ1:
d[k][g]<=D[k][g];
forall (<i,j,tc> in Arcs,k in K,t in T,g in G)
CtBoundsOnZ4:
Z[<i,j,tc>][k][t][g]>=d[k][g]-D[k][g]*(1-X[<i,j,tc>][k][t]);
But, after running the model, the following error popped up:
What I did was to do some changes in .ops, configurations settings, file:
1) increased the memory: (image attached)
2) switching the memory emphasis to True: (image attached)
Yet, I have the same problem!
My system info is attached.
I would really appreciate if you can help me tackle the issues!
Regards,
Bahman
#CPLEXOptimizers#DecisionOptimization