
Deng Pan
- Total activity 11
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Activity overview
Latest activity by Deng Pan-
Deng Pan commented,
Hi, Steve, The problem is solved. You are right that I actually put MIPGap attribute setting after optimize... I should've thought of that as I use MIPFocus and put it in the right place. Anyway, t...
-
Deng Pan commented,
Hi, Gwyneth, I don't think I changed any MIPGap parameter, at least I don't recall. As I said, the only places I did something about the Gap are the two line of code I have sent: Gap=m.setParam('MI...
-
Deng Pan commented,
Hi, Gwyneth, The only code I have about the log is the code to change the name of log when I export the log to a txt file. I rerun the model without exporting the log file (so in this way there is ...
-
Deng Pan commented,
Or do you mean this: Gap=max(0, abs(m.ObjVal-m.ObjBound)/abs(m.ObjVal)) The one above and the one I sent in the previous email:Gap=m.setParam('MIPGap', 0), are the only two lines about gap I have i...
-
Deng Pan commented,
Hi, Gwyneth, Below is the entire log: Gurobi 9.1.1 (win64) logging started Sat Apr 3 17:09:29 2021 Changed value of parameter LogFile to P1_48_LFW_NoCap_Log 5 480 0.01 0.01 1 04032021-170929.txtPr...
-
Deng Pan commented,
Hi, Gwyneth, I tried the following code: Gap=m.setParam('MIPGap', 0) But the gap is still the same as before. Before I report the gap with this code: Gap=max(0, abs(m.ObjVal-m.ObjBound)/abs(m.ObjVa...
-
Deng Pan created a post,
How to have a solution with 0 gap
AnsweredHi, Is there a way to force Gurobi to generate solution with 0 gap? I got optimal solution with positive gap for a MIP model that minimize cost. I found a solution with lower objective function val...
-
Deng Pan commented,
Hi Jaromil, It worked! Thank you so much! Best wishes
-
Deng Pan created a post,
CPU time of first time to reach optimal solution
AnsweredDear community, I am wondering how to get the CPU time of first time to reach optimal solution. I use python API. Use the example below, in this case, the wall clock time of first found optimal sol...