Waseem Akram
- Total activity 21
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 3
Activity overview
Latest activity by Waseem Akram-
Waseem Akram commented,
Hi Jaromil, I would like to thank you for your kind help and support for all my queries. I did not bother you again because I found a solution for Python version and I was able to run my script wit...
-
Waseem Akram commented,
Here is my script. This generates infeasible model because of uu variable multiplication in right_term12. With the following the model is Ok. But I need to get rid of @ operator in python 2.7 m.ad...
-
Waseem Akram commented,
thank you very much. In my case I have to adopt Python 2.7. I used tolist function and it worked in setting objective function. u=m.AddMvar(shape=4)uu=u.tolist()obj1=np.matmul(uu,R)objective=np.mat...
-
Waseem Akram commented,
Hi Jaromił Najman I hope you are doing very well. I would like to ask one question. In python 2.7, the @ operator is not supported. What is the alternative of this if I want to set my objective as ...
-
Waseem Akram commented,
yes you are right. When I catch the infeasible or unbounded status, the model returns the following "model.ilp" after computing m.computeIIS(). This means that after some iteration the model is inf...
-
Waseem Akram commented,
Hi, When I was trying to get the gurobi var after running objective 2. The model was showing infeasible solution and no attribute with X. Surprisingly when I set condition: if m.status==GRB.OPTIM...
-
Waseem Akram commented,
Hi, Thank you very much for your help. I was doing this. Unfortunately, the gurobi model does not work with objective 2. When I run objective 1 both in first and second loop. It is working properly...
-
Waseem Akram commented,
Hi, I would like to ask one question. My algorithm has two optimization objectives. In the first loop, I do optimization of the objective 1 and save the records. In the next loop, first I add const...
-
Waseem Akram commented,
Jaromił Najman Thanks a lot. By rearranging the constraints as m.addConstr(term1[l] == term2[l] + s1[l,k]) I get the correct constraints i.e 0. Now its working.
-
Waseem Akram commented,
Jaromił Najman Thank you very much for your kind help. Yes this is what I wanted. However, this constraint gives me "model is infeasible or unbounded" error.