Huib Meulenbelt
 Total activity 24
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 2
 Subscriptions 6
Activity overview
Latest activity by Huib Meulenbelt
Huib Meulenbelt commented,
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...

Huib Meulenbelt commented,
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...

Huib Meulenbelt created a post,
How to define that m successive variables should be the same
AnsweredHi all, Player A and player B participate in a tennis game. Each player can "serve" m times. A player wins when he scores n points. The number of points of A is a and the number of points of B is b...

Huib Meulenbelt commented,
Thank you Jaromil and David!

Huib Meulenbelt created a post,
Model not feasible while solution does exists
AnsweredHi, I create model as follows def create_model() > gurobi.Model: m = gurobi.Model() m.Params.LogToConsole = 1 m.Params.PoolSearchMode = 1 m.Params.PoolSolutions = 1 m.Params.PoolGap...

Huib Meulenbelt commented,
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...

Huib Meulenbelt commented,
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?

Huib Meulenbelt commented,
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...

Huib Meulenbelt created a post,
Maximum number of elements in LineExp for free trial?
AnsweredHi all, I want to make a model that helps me to determine where to aim on the dartboard. The dartboard consists of x and y coordinates. These values range from 170 to 170. Let's say that the possi...

Huib Meulenbelt created a post,
Integers as name for Vars
AnsweredHi, Running the following code doesn't gives an error: x_vars = m.addVars(341, vtype=gurobi.GRB.BINARY, name=[str(i  170).zfill(1) for i in range(341)]) whereas x_vars = m.addVars(341, vtype=gurob...