Sam Garvin
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Sam Garvin-
Sam Garvin commented,
Thank you for your help, that makes sense! -Sam
-
Sam Garvin commented,
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...
-
Sam Garvin commented,
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...
-
Sam Garvin created a post,
Issue retrieving PoolObjVal
AnsweredHi, I am trying to run the following code, and I am getting the error: "AttributeError: No solution available," referring to the PoolObjVal attribute of price. price.setParam(GRB.Param.PoolSearchM...
-
Sam Garvin commented,
Hi, Yes, I was mistaken and that was the issue. Thanks for your patience and the help. -Sam
-
Sam Garvin commented,
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...
-
Sam Garvin commented,
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 ...
-
Sam Garvin commented,
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...
-
Sam Garvin created a post,
Issue retrieving Unbounded Ray from Unbounded LP
AnsweredHi, I am having trouble retrieving an unbounded ray from an unbounded LP. After optimizing the LP, the model status returned is 5, indicating that the model is unbounded. However, the following err...
-
Sam Garvin commented,
Thank you for your prompt response!