Abhishek Solomon
- Total activity 18
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 6
Posts
Recent activity by Abhishek Solomon-
Facility Location Problem - Standard BIP vs QUBO
Awaiting user inputHello, I'm fairly new to the optimization world, and working on a research project that involves comparison of solving times for the standard uncapacitated facility location problem, using the foll...
-
"string index out of range" error within quicksum
Awaiting user inputHello, The below line of code gives me an "IndexError: string index out of range" error: for j in def_attributes: m.addConstr(gp.quicksum(PlayerSelect[i]*current_fitness[i]*PlayerAttributes[i,j]...
-
Linearizing a quadratic objective function
AnsweredHello, I'm fairly new to optimization and Gurobi. I have the following objective function to be mazimized: Xi and Xz are both decision variables. How do i linearize this? Thanks, Abhishek
-
Conditional constraints
AnsweredHello, I'm fairly new to code/Gurobi - I'm trying to write the following constraint, and it does not look optimal to me. Is there a way of writing the following without having to use a, b and c? fo...
-
Help with a conditional constraint!
AnsweredHello, I have the following code block: for i in locations: for o in facilityoptions: m.addConstr(gp.quicksum(ProductionQty[p,i,o]/yieldpersqft[p,o] for p in setproduce) <...
-
Help: GurobiError: Unrecognized argument to getAttr
Answeredimport gurobipy as gpfrom gurobipy import GRBimport mathnumiter = 10lambdak = 0alphak = 1.0zstar = 0betak = 2zstarvals = []lambdavals = [] zlkprev= math.infrediter = 1m = gp.Model('LagrangianRelaxa...