Daniele Patria
 Total activity 16
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 3
 Subscriptions 2
Activity overview
Latest activity by Daniele Patria
Daniele Patria created a post,
Problems very similar to each other requiring much much different amount of time to be solved
AnsweredDear support team, I have implemented an algorithm which iteratively solves Integer (BINARY) Linear Problems with Gurobi. The problems solved by Gurobi are all very similar to each other: they only...

Daniele Patria commented,
Dear Matthias,I've been investigating the problem and I finally understood what was happening.A quadratic equality constraint, as you suggested, always takes to a nonconvex feasible set (with appr...

Daniele Patria commented,
Thanks for your answer Matthias.I am not really used to ask for help on communities so I apology for any inconvenient that I am causing. I understood how it should be done now. I'll see if it is th...

Daniele Patria commented,
What do you mean by "reproducible" here?At this point I think I will ask for permission for posting here all the4 needed files, but I don't know how to do it actually. The constraint is just a quad...

Daniele Patria commented,
Hi Matthias, one thing I forgot to say: the model has only integer variables.The algorithm I've implemented is made of more than 1 python script. I'll try to do my best posting below the significan...

Daniele Patria commented,
Additional information: when using an inequality constraint, I am not getting the "nonconvex" error but the nonpositivesemidefinite one, that follows gurobipy.GurobiError: Q matrix is not positiv...

Daniele Patria commented,
Thanks for your reply Matthias.At this point I am a bit confused: I am running the algorithm I've implemented (from which the piece of code I posted is taken) with different datasets. All the attem...

Daniele Patria commented,
Thanks for your answer Matthias.My explanation wasn't the best... I'll try yo make it simpler so that it's clearer and easier for me to explain: I have a quadratic expression made of only nonnega...

Daniele Patria created a post,
Why is my quadratic expression not convex?
AnsweredHello everybody,I am solving a model with a certain quadratic expression as objective function, than replacing the o.f. with a linear expression and using the previous quadratic one as a constraint...

Daniele Patria commented,
Dear Jaromił,thanks for your answer. I managed to solve my problem and now the code works fine.By the way I am still curious about why it does work that way when adding linear constraints... It wou...