Search found 4 matches

by salehizadeh2000
7 months ago
Forum: Solvers
Topic: Duality Gap
Replies: 2
Views: 7074

Re: Duality Gap

Thank you. I will read. BTW, a part of my log is as follows:
image.png
Also, my options are:


OPTIONS OPTCR=0.1,LIMCOL=0,LIMROW=0,decimals=4,reslim=604800;

OPTIONS LIMROW=10;

$echo mipemphasis 3 > cplex.opt
PEMS.optfile = 1;

In advance, I appreciate your comments, and suggestions.
by salehizadeh2000
7 months ago
Forum: Solvers
Topic: mipemphasis
Replies: 4
Views: 12853

Re: mipemphasis

Thank you very much. I added: $echo mipemphasis 3 > cplex.opt PEMS.optfile = 1; To my code and I did not receive an error. However, when the gap reach to 65%, it would still very slow. I will show a part of log: image.png I do not know how to accelerate the execution. Let me share my options to be a...
by salehizadeh2000
7 months ago
Forum: Solvers
Topic: mipemphasis
Replies: 4
Views: 12853

mipemphasis

When I write OPTIONS mipemphasis = 2; in GAMs. It encounters error: Error 250 in C:\Users\A\Desktop\CaseB_Block1\BaseCaseBlockB1.gms[ERR:"C:\Users\A\Desktop\CaseB_Block1\BaseCaseBlockB1.gms",132,21][LST:154] Unknown option. valid are - LP = "lpname" ( This works for all other mod...
by salehizadeh2000
7 months ago
Forum: Solvers
Topic: Duality Gap
Replies: 2
Views: 7074

Duality Gap

Dear Friends: I have a MIP with 12000 single binary variable. While solving the problem, the dual gap starting to decrease fast at the first but when it reaches around 70% it will decrease very slowly for example 69.99, 69,99, 69,98, 69.88,....... I would be grateful if you could guide me how can I ...