
David Mejía
- Total activity 18
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 5
Activity overview
Latest activity by David Mejía-
David Mejía commented,
Thanks! David
-
David Mejía created a post,
PWL approximation of trigonometric functions
AnsweredDear Gurobi Community, Short question. When using addGenConstrSin(x,y) or addGenConstrCos(x,y), should the variable x be in radians or degrees? Thanks for your help.
-
David Mejía created a post,
quicksum contraint slows solver.
AnsweredHi, I´m working in a MILP model. It solves relatively fast within 10 to 15 minutes. But after adding the following two constraints, the solver takes about 4 days to solve the problem. Any idea why...
-
David Mejía commented,
Thank you for that explanation Matthias. It just seemed too good to be true. Best Regards, David
-
David Mejía commented,
Thank you Eli for your fast response. I´ve tried your hint. When I use either MIPFocus=1 or Heuristics=0.1 the solver finds a solution really fast, but no nodes where explored during the optimizati...
-
David Mejía created a post,
Solver takes to long too find Incumbent solution
AnsweredHi, I´m trying to solve a MILP problem with quadratic constraints. The solver is taking a fairly long time finding a incumbent solution. When it finds it, it´s when the optimization is done. The be...
-
David Mejía commented,
Hi Eli, Thank you so much for your help, that answered my question!
-
David Mejía created a post,
implement conditional constraint
AnsweredHi, I´ve been trying to implement this constraint: if a >=1 then b=1 else b =0 a is a continuous variable b is a binary variable I´ve seen people using the big M to express this, but I can´t get ...
-
David Mejía commented,
Thank you so much for the advice, it worked out perfectly. David
-
David Mejía created a post,
define a deterministic set of feasible solutions
AnsweredHi, How can I define a deterministic set of feasible solutions for a variable? For example the solver can only find a solution in the following set of solutions for the variable x: x ∈ {0.1,0.2,0...