Nitin Singh
- Total activity 21
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 6
- Subscriptions 4
Activity overview
Latest activity by Nitin Singh-
Nitin Singh commented,
Riley ClementI have a follow up question on this. For the same infeasible model (now I am not filtering down any constraint for this relaxation exercise):If I try model.feasRelax as follows: self....
-
Nitin Singh commented,
I just did that. Thanks.My bad that I thought it was a boolean.
-
Nitin Singh commented,
But what if I don't want the relaxation to play with the variable bounds, but only the RHS of the constraints?
-
Nitin Singh created a post,
Infeasibility Relaxation with Gurobi
AnsweredI have an infeasible model. I am attempting to perform Infeasibility Relaxation with model.feasRelax. While doing that, I am trying to keep a certain number of constraints outside of the analysis i...
-
Nitin Singh commented,
Comment:I attempted to use gp.LinExpr(). Is my below prototype correct? model.addConstrs( ( gp.LinExpr( (1.0, x[c1, c2]) for (c1, c2) in d[(s1, s...
-
Nitin Singh created a post,
LinExpr() as a faster alternative to quicksum() for constraint building?
AnsweredI have defined sets of constraints using model.addConstrs(), quicksum and generator expression. As an example, take a look at below. model.addConstrs( ( gp.quicksum( ...
-
Nitin Singh created a post,
Which constraints are active at Optimization Termination
AnsweredI have a MILP model which is solved to optimality by Gurobi. I would now like to know which constraints are active at optimization termination i.e. constraints that are limiting. I found on the for...
-
Nitin Singh commented,
yes, this helps. Thanks for the answers.
-
Nitin Singh commented,
Thanks. Is there anyway I can simple use the constraint names defined earlier to access the expression rather than having an object defined for them?
-
Nitin Singh commented,
Thanks,That did work in my case and I could access constraint names using the indexes.I have a follow up question: How can I now access the Left hand side of a certain constraint i.e. the expressio...