Sam Garvin
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Comments
Recent activity by Sam Garvin-
Thank you for your help, that makes sense! -Sam
-
My apologies. Here is the smallest program I could think to reproduce it on: import gurobipy as gpfrom gurobipy import GRBimport numpy as npmod = gp.Model("model")x = mod.addVar(name = 'x')y = mod...
-
Hi, thanks for the quick reply. I removed the update line and still have the same issue. That's the code as it appears on my screen. Sorry, I'm not sure how to get the log output or what that is. T...
-
Hi, Yes, I was mistaken and that was the issue. Thanks for your patience and the help. -Sam
-
Hi, I still get the same issue running price.setParam(GRB.Param.Method, 1)price.setParam(GRB.Param.InfUnbdInfo, 1)price.optimize()variables = price.getVars()new_point = np.array([])if price.Statu...
-
Hi, calling print(price.getParamInfo(GRB.Param.InfUnbdInfo)) returns ('InfUnbdInfo', <class 'int'>, 1, 0, 1, 0), indicating that the parameter is indeed set to 1. When I run the code you replied ...
-
Hi Simran, thanks for the quick reply. I made these changes and I'm still having the same issue. This is the code I'm running now: price.setParam(GRB.Param.InfUnbdInfo, 1)price.optimize()vars = p...
-
Thank you for your prompt response!