'Getting an internal error while executing code on IBM CPLEX
I am new to CPLEX. I wrote a few simple codes to solve some linear programming questions on optimization. It worked fine and I got the expected output (to make sure if there are no issues in installation ). I am trying to execute an existing code for CVRP. I am getting below error.
"internal error (Please notify IBM) CVRP Unknown OPL Problem Marker"
Kindly let me know if you need any specific information regarding it.
Solution 1:[1]
It is not a solution but a workaround, you may try if a similar error occurs for you. I got the above error when I was trying to fetch data from local xls file using below code
SheetConnection my_sheet("largertestregion.xlsx");
time from SheetRead(my_sheet,"time");
demand from SheetRead(my_sheet,"demand");
As my data set was small, and I defined all data in my .dat file instead of fetching it from local xls. The issue got resolved. However, I am yet not sure how the above code did not work for me.
Solution 2:[2]
In this case, the problem can be solved in one of two ways:
- Bring the files to the local file of the project
- Adding the path when writing the code
For example:
SheetConnection my_sheet("D:\\Education\\largertestregion.xlsx");
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Monu |
| Solution 2 | zephryl |
