Cris

  • Gurobi-versary
  • Curious
  • Conversationalist

I am studying studying and I really fell in love with optimization area

  • Total activity 34
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 7

Comments

Recent activity by Cris Recent activity Votes
  • Perfect. I understand. Thanks for your help. I would like to know where I could find more information about details like quicksums use list as an argument and improve my codes?? Best Regards.   Cris

  • I think I understand. I am not sure but when you multiply a var by a "vector", in this case an array vector, Gurobi takes the result as a list, where each component of the result It is an element i...

  • I timed the execution of the entire LASSO_FISTA(A, b, iteracion-maxima, rho)  function. But, I think that it is equivalent to time just obj = quicksum(grad[i]*(y[str(i)]-xk[i]) for i in range(1500)...

  • The list option was. I convert the gradient and xk vector to a list, multiply and after that transform the xk to an array vector to repeat the process   grad = 2*np.dot(np.transpose(A), np.do...

  • Sure. I used the Frank-Wolfe algorithm. This is my code.   from parámetros import *from gurobipy import Model, GRB, quicksumimport timeimport matplotlibimport matplotlib.pyplot as pltdef LASSO_FIST...

  • Thanks Eli. I will keep this on mind.  Best regards

  • Thanks you Eli.  Best regard. Atte: Cristian

  • I had the same problem using python gurobi. I had to used the firt option you said. model.addGenConstrAbs (x5, x1, "absconstr" )

  • Thanks you Eli. I could do the code. I have some questions. I had some troubles multiplying gurobi vars with an array. I would like to know if it is normal. I have read this. https://groups.google....