Arash Baharvandi
 Total activity 15
 Last activity
 Member since
 Following 0 users
 Followed by 0 users
 Votes 1
 Subscriptions 4
Activity overview
Latest activity by Arash Baharvandi
Arash Baharvandi created a post,
Runtime
AnsweredHi, I have two equal problems that second one include more constraints i.e. three times than first one. First problem would be run in 5 seconds, while second one takes 900 seconds that it does not ...

Arash Baharvandi commented,
Thanks a lot for your help.

Arash Baharvandi commented,
Thank you, I figured out the issue. I simplified code and removed all fixed variables. from gurobipy import *import numpy as np#indicesmyList = list(range(0,4))vctr=np.array(myList)I=vctr# generato...

Arash Baharvandi commented,
Hi, I have following code , but I do not know when I increase ''peak'' model is infeasible, while it should be feasible. For peak=10, I got optimal solution, but for more than 10, it will be infe...

Arash Baharvandi created a post,
Different platforms and different results
AnsweredHi, I wrote a problem to be solved by Gurobi (Python), before increasing a parameter, I got correct results by Gurobi and another platform, when I increase a parameter I will get infeasible problem...

Arash Baharvandi commented,
Sorry for not clarifying it well. I have a parameter (vf) which is a matrix, this matrix contains two columns and I want to use each column for any problem. vf= np.array([[1,2],[2,4],[4,4]]) In f...

Arash Baharvandi commented,
Thanks for your response, I mean I have the following problem and I want to solve this problem 3 times, I have a matrix vf (with 3 columns), and I want to solve this problem for each column of th...

Arash Baharvandi created a post,
Adding objective functions and variables to a matrix
AnsweredHi, I have an optimization problem. A parameter will get new values and solve the problem again. How can I define a matrix included objective functions and variables? (python with Gurobi package)...

Arash Baharvandi commented,
Thank you for your response, I have another question. I really appreciate you for responding my question. I have a constraint, and there is relationship between its indices, for example if i=1, t...

Arash Baharvandi created a post,
Adding a column to a parameter and rerun it for new column
AnsweredHi, I have a parameter in a 4*2 matrix. I want to run my optimization problem first for first column,then for second column in Gurobi. v[i,j] is in my constraint, so I wanna run it first for v[...