You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\ProgramData\Anaconda3\envs\nilmtk-env\python.exe C:/Users/19002/Desktop/CVRPTW-Python-Gurobi/CVRPTW.py
Node X Y Demand Profit Et Lt St
0 1 82 76 NaN NaN NaN NaN NaN
1 2 96 44 19.0 20.0 10.0 11.0 30.0
2 3 50 5 21.0 32.0 13.0 15.0 15.0
3 4 49 8 6.0 11.0 11.0 12.0 15.0
4 5 13 7 19.0 23.0 16.0 17.0 30.0
5 6 29 89 7.0 6.0 9.0 13.0 20.0
6 7 58 30 12.0 18.0 14.0 16.0 15.0
7 8 84 39 16.0 21.0 10.0 14.0 60.0
8 9 14 24 6.0 11.0 13.0 14.0 15.0
9 10 2 39 16.0 20.0 16.0 17.0 30.0
Using license file C:\WINDOWS\system32\gurobi\gurobi.lic
Academic license - for non-commercial use only
Traceback (most recent call last):
File "C:/Users/19002/Desktop/CVRPTW-Python-Gurobi/CVRPTW.py", line 88, in
m.addConstr(z[i+1] >= (z[j+1] + st[j+1] + dist_matrix[j+1, i+1])*(x[j+1,i+1])) ## taking distance from one node to other as travelling time in minutes between those nodes
File "model.pxi", line 3247, in gurobipy.Model.addConstr
File "model.pxi", line 3158, in gurobipy.Model.__addConstr
gurobipy.GurobiError: Element 0 of a double array is Nan or Inf.
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
C:\ProgramData\Anaconda3\envs\nilmtk-env\python.exe C:/Users/19002/Desktop/CVRPTW-Python-Gurobi/CVRPTW.py
Node X Y Demand Profit Et Lt St
0 1 82 76 NaN NaN NaN NaN NaN
1 2 96 44 19.0 20.0 10.0 11.0 30.0
2 3 50 5 21.0 32.0 13.0 15.0 15.0
3 4 49 8 6.0 11.0 11.0 12.0 15.0
4 5 13 7 19.0 23.0 16.0 17.0 30.0
5 6 29 89 7.0 6.0 9.0 13.0 20.0
6 7 58 30 12.0 18.0 14.0 16.0 15.0
7 8 84 39 16.0 21.0 10.0 14.0 60.0
8 9 14 24 6.0 11.0 13.0 14.0 15.0
9 10 2 39 16.0 20.0 16.0 17.0 30.0
Using license file C:\WINDOWS\system32\gurobi\gurobi.lic
Academic license - for non-commercial use only
Traceback (most recent call last):
File "C:/Users/19002/Desktop/CVRPTW-Python-Gurobi/CVRPTW.py", line 88, in
m.addConstr(z[i+1] >= (z[j+1] + st[j+1] + dist_matrix[j+1, i+1])*(x[j+1,i+1])) ## taking distance from one node to other as travelling time in minutes between those nodes
File "model.pxi", line 3247, in gurobipy.Model.addConstr
File "model.pxi", line 3158, in gurobipy.Model.__addConstr
gurobipy.GurobiError: Element 0 of a double array is Nan or Inf.
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: