Varun Deshpande
- Total activity 11
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 4
Posts
Recent activity by Varun Deshpande-
Using the optimal value printed by Gurobi
AnsweredHow do I use the value of the optimized objective function? I.e I wish to use the Optimal objective. Gurobi Optimizer version 9.1.0 build v9.1.0rc0 (win64)Thread count: 2 physical cores, 2 logical ...
-
Differentiating an equation and updating as a constraint
AnsweredHow should an expression be partially differentiated and added as a constraint to the model? Clearly using sympy to differntiate isn't too helpful since.addConstr() has not accepted the constraint....
-
"TypeError: unsupported operand type(s) for -: 'LessThan' and 'NoneType' " while using sympy equation
AnsweredaddConstr does not seem to accept a sympy inequalty. If this does not work, then how get variables and constraints input from a user and then add them to a model? m = gp.Model()decsn_var = [x', 'y'...
-
Incorrect Result for single variable problem
Answeredmin z = -y st. x-y >= 1, y <= 0, x + y <= 2 The solution to the problem must be 1. Can someone please explain this egregious result? Thanks import gurobipy as gpm = gp.Model()x = m.addVar(name = 'x...