Originally posted by: MityaStiglitz
Hi,
I'm building my first bigger model and am having some problems (as expected). Attached the model and the data.
The errors I get are:
Impossible to load model.
Name "j" does not exist.
It appears there is a flaw here:
//Pickup and delivery are performed by the same vehicle (5)
forall(i in _N2: i<=N+Np)
forall(k in _V)
(sum(j in _N2: j<=N+Np)
_X[i][j][k] - _X[j][i+N][k]) == 0;
It is likely there will be more errors coming up when this is resolved. Help is deeply appreciated. Also, I would appreciate if anyone could point to further resources to learning OPL and use CPLEX. I am aware of the official reference manual and the instructor workbook. Still I find it quite hard to really start using this tool. What I would really value would be a resource that would explain more into details why e.g. some pre-processing or post-processing is done in the examples, etc. For instance, I am familiar with the basic LP formulation of the TSP, but what is done in the TSP example post-processing section and in the script provided with the suite is really hard to follow for me. In short - student-friendly textbook would make my day :)
#DecisionOptimization#OPLusingCPLEXOptimizer