Premkumar Subramanian
- Total activity 6
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
Activity overview
Latest activity by Premkumar Subramanian-
Premkumar Subramanian commented,
Thanks Riley! Indeed it seems that we have been already unknowingly taking the risk by passing the custom objects to a tuplelist.As we didn't include `gurobipy-stubs` for gurobipy 10, we never noti...
-
Premkumar Subramanian commented,
That can be a last resort. But I still wonder why this error is thrown in the first place. I don't want to have unexpected results from Gurobi as I suppress this error.
-
Premkumar Subramanian commented,
Hi Riley, The code may even be able to run without issues, but I am blocked by this typing issue. MyPy, the type checker, doesn't see the custom Python class objects as valid ones in the list
-
Premkumar Subramanian commented,
Hi Matthias, The typing issue still continues even with the list as the list is expected to have `int | float | str` error: List item 0 has incompatible type "<Custom Python class>"; expected "int...
-
Premkumar Subramanian created a post,
`tuplelist` in Gurobipy 11
AnsweredWe would like to migrate from Gurobipy 10 to 11. `tuplelist` in version 11 doesn't accept custom Python objects. For instance, the code below worked in Gurobipy 10, but raises typing error in 11. H...