scott zheng
- Total activity 4
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
Posts
Recent activity by scott zheng-
Extract gurobi 3-dimensional variable value to a ndarray?
AnsweredI have gruobio 3d-variables defined as:self.r = self.model.addVars(self.noCells, self.noHours, self.noM, vtype=GRB.BINARY, name='Renew_Charging') need to retrieve the optimal values after optimizat...
-
How to add conditionals in quicksum for loop?
AnsweredHi there, I have a constraint like this one. When I try to add (and j!=i) to the gurobi model, it shows j is not defined. How do I solve this problem? for i in range(self.noCells): ...