Heena Jain
- Total activity 8
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 2
Activity overview
Latest activity by Heena Jain-
Heena Jain commented,
Hi Jaromil, I appreciate your input. I have been through the examples and some webinars also. My query though is that the objective function doesn't remain same for me. It keeps changing with every...
-
Heena Jain commented,
Hi Jonasz and Jaromil, Thank you for your responses. Firstly, here is a reproducible example: from gurobipy import *from gurobipy import GRBlm = Model("lm")expr = '1253.8051344 - 654.268051728*lamb...
-
Heena Jain created a post,
File "src\gurobipy\quadexpr.pxi", line 45, in gurobipy.QuadExpr.__init__ File "src\gurobipy\linexpr.pxi", line 46, in gurobipy.LinExpr.__init__ IndexError: string index out of range
AnsweredThis is a piece of code from my program. I keep getting this error while trying to set the objective function. Please help!lm = Model("lm")expr = LineSearchExp.replace('lmd','lambd')expr = str(expr...
-
Heena Jain commented,
Thank you for your response. I did use the getbasishead function and obtained the order of the variables. The difficulty that I am facing now is with the values that it return after calculating (B-...
-
Heena Jain created a post,
GRBBinvcolj function returning different order of indices
AnsweredI am using the function GRBBinvColj to solve the equation x = (B-inv)(Aj) where B-inv is the basis inverse and Aj is the j-th column of constraint matrix. After printing the resulting sparse vector...