Panggah Prabawa
- Total activity 25
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 9
- Subscriptions 5
Posts
Recent activity by Panggah Prabawa-
Passing multiple variables across Python function/methods
AnsweredHi all, I wonder if I can pass multiple/all variables across Python functions considering many variables to pass on so that they are accessible and optimized outside the function. For example: def ...
-
Treating Gurobi as a local solver?
AnsweredHi all, As Gurobi is a global solver, is it possible to make Gurobi solve a problem and stop when it finds a local optimum by e.g., adding model.Param? I intend to make an iterative algorithm using...
-
Convex vs SOCP Constraint
AnsweredHello, I am constructing a problem which includes a convex constraint: \( l_{ij} * u_{i} \geq p_{ij}^2 + q_{i,j}^2 \) which I coded as follows (with additional dimension \( t \) ): Ohm_law = m.addC...
-
tupledict.prod() with partial dictionary key
AnsweredHi, Similar to that in the documentation, suppose that I have 3-D variable x: # My trial:x = m.addVars([(1,2,0), (1,3,0), (2,3,0)]) # The indices are generated from tuplelist, in which the last i...