
Brannon King
- Total activity 20
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 4
- Subscriptions 8
Activity overview
Latest activity by Brannon King-
Brannon King created a post,
FeasRelax with smart choice of cons to drop
I'm attempting to use the FeasRelax function on a minimization problem. My problem has some constraints that conflict with each other. FeasRelax successfully drops some of the conflictors. However,...
-
Brannon King created a post,
Please support Pypy v7.3+
AnsweredI cannot install gurobipy using pip on Pypy (v7.3.15). pip informs me that there are no available gurobipy distributions for Pypy. Please add a distribution for the Pypy interpreter (https://www.py...
-
Brannon King commented,
This question is old, but so as it has an answer: you can't use numpy functions on scipy sparse objects. The transpose should be sH.T and the dot product should be done via the @ operator: sH @ D .
-
Brannon King created a post,
norm function should take expressions
AnsweredI want to be able to code like this: m.setObjective(gp.norm(x-y, 2), minimize); where x is a variable (or list of variables or MVar) and y is a numpy array.
-
Brannon King commented,
Each row has an associated slack variable. Does the slack variable use the same upper/lower status information? How would I determine this VBasis information for a slack variable, since CBasis does...
-
Brannon King created a post,
What is Gurobi's equivalent to SCIP's getBasisStatus method?
OngoingSCIP has SCIProwGetBasisStatus and SCIPcolGetBasisStatus methods. What is Gurobi's equivalent to these methods? This question relates to my larger goal of computing the corner rays at an optimal LP...
-
Brannon King commented,
Surely Gurobi's nodes know both their parent and their variable that they branched on, no?
-
Brannon King commented,
Yes, I too really need a way to determine what variables Gurobi has already fixed as part of its branching. This information should be available in the node or solution callback. Even if it was jus...