Ru Xin Chua
- Total activity 4
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
Activity overview
Latest activity by Ru Xin Chua-
Ru Xin Chua commented,
This variable gives a datatype of datetime64[ns] arrival=np.array(data["Vessel Arrival Time"]) This variable gives a datatype of gurobi.var t=model.addVars(vessel_number,vtype=GRB.CONTINUOUS ,...
-
Ru Xin Chua commented,
variable t is tupledict while arrivaltime is timedate64. that is why subtraction not possible. any idea how to convert
-
Ru Xin Chua created a post,
Error: ufunc 'subtract' cannot use operands with types dtype('<M8[ns]') and dtype('O')
AnsweredI encountered this error while trying to solve a VRP. I am not very sure how to convert the date time and gurobi var such that they can subtract each other https://stackoverflow.com/questions/71385...