
Huib Meulenbelt
- Total activity 37
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 10
Comments
Recent activity by Huib Meulenbelt-
Hi Maliheh,Thank you for your solution. I am getting now the output that I expect import itertools from gurobipy import Model, GRB truth_table = dict.fromkeys(itertools.product([1, 0], repeat=2),...
-
Hi,There are two scenarios for `p`If p = 1` then r_p_min ≤ r ≤ r_p_max I created this constraint by writing:m.addGenConstrIndicator(p, True, r_p_min <= r) m.addGenConstrIndicator(p, True, r <= r_p...
-
Hi Ronald, thank you for your insights. I am mainly interested in finding the value of `SUL_i` and `SUL_j`. You stated that its possible to retrieve these values without the paths. Is the following...
-
Hi, Thank you for your reply. I understand that the "nx.from_numpy_array"-function doesn't accept Gurobi decision variables as input. However, is it possible to convert the values of the decision...
-
Hi Riley, In the end that's exactly what I want to do; get all the different ways a score can be achieved. To be precise, I want all the ways A (B) can score a (b) points on his own serve. Below is...
-
Ah yes, thank you for taking a look at it. So, I was making it way too difficult. You're right, I excluded that from my question to simplify the project. But a player wins when he reaches n points...
-
Thank you Jaromil and David!
-
Both constraints are expressed in the form of p_bust_var so I can write m.addConstr(p_bust_var_div == 1 / (1 - gurobi.quicksum(p_vars))) Then I don't have a quadratic model anymore correct. Howeve...
-
Gotcha. I included that constraint based on your article. Later in the script I need to divided a term by p_bust_var. Is there any other way to satisfy the vars limitations and divide by p_bust_var?
-
Hi Jaromił, Thanks for responding! I noticed the limits in the documentation, yes. But I am not sure why my model violates them? There are no quadratic terms in my model I believe. Can you check wh...