Where have you heard that CPLEX can use GPUs? I think that is plain wrong.
It can use multiple cores/threads though. In GAMS you can set the number of threads via option threads.
I hope this helps!
Fred
Search found 247 matches
- 2 weeks ago
- Forum: Solvers
- Topic: Parallel processing with CPLEX
- Replies: 3
- Views: 210
- 3 weeks ago
- Forum: Modeling
- Topic: Integer Infeasible Soluiton
- Replies: 1
- Views: 182
Re: Integer Infeasible Soluiton
Hi, When posting code code, please use the code tags. The code tags are inserted if you click on the symbol with "<\>". Otherwise the formatting (e.g. of tables) gets destroyed when copy/pasting code. For your model even the RMIP (the LP you get when neglecting integrality requirements for discrete ...
- 3 months ago
- Forum: Syntax
- Topic: error 66 and 256
- Replies: 2
- Views: 532
Re: error 66 and 256
Hi, When you look into the lst file, you will find the following error message: 66 solve data_envelopment using lp minimizing M; **** $66,256 **** 66 The symbol shown has not been defined or assigned **** A wild shot: You may have spurious commas in the explanatory **** text of a declaration. Check ...
- 3 months ago
- Forum: Solvers
- Topic: CPLEX OPTCR
- Replies: 2
- Views: 589
Re: CPLEX OPTCR
Hi,
When you set
Cplex should terminate as soon as that gap is reached.
Could you share a log and your code?
Fred
When you set
Code: Select all
OPTIONS OPTCR=0.05;
Could you share a log and your code?
Fred
- 3 months ago
- Forum: Syntax
- Topic: csv2gdx creates <empty> rows when trying to read in set
- Replies: 6
- Views: 683
Re: csv2gdx creates <empty> rows when trying to read in set
Hi, You read text1 as a 5-dimensional set. Hence, given the structure of the data in the csv file, it is expected that the domain sets Dim1,...,Dim5 contain the empty element. If you need to read the sets separately, the only way to do this with csv2gdx is to put them in different csv file. You coul...
- 4 months ago
- Forum: Bugs
- Topic: MSNLP solver "stops" before running the algorithm
- Replies: 3
- Views: 2261
Re: MSNLP solver "stops" before running the algorithm
Can you share the source file moi.gms?
Fred
Fred
- 4 months ago
- Forum: Modeling
- Topic: Infeasibility & entries skipped
- Replies: 3
- Views: 469
Re: Infeasibility & entries skipped
There is no problem. It is usual that the initial point is not feasible. Look for example at the trnsport model. The equation listing shows ---- demand =G= satisfy demand at market j demand(new-york).. x(seattle,new-york) + x(san-diego,new-york) =G= 325 ; (LHS = 0, INFES = 325 ****) demand(chicago)....
- 4 months ago
- Forum: Syntax
- Topic: Sum over all observations except the observation under investigation
- Replies: 2
- Views: 586
Re: Sum over all observations except the observation under investigation
Hi Teo,
You could use a dollar condition as follows
I hope this helps!
Fred
You could use a dollar condition as follows
Code: Select all
out(i,outp).. sum(ii$(not sameas(i,ii)),lm(i,ii)*y(outp,ii))=E=y(outp,i)*(1+beta1(i));
Fred
- 4 months ago
- Forum: Modeling
- Topic: Infeasibility & entries skipped
- Replies: 3
- Views: 469
Re: Infeasibility & entries skipped
Hi, You are referring to the equation listing which provides information about the generated model before it is solved. Infes=... indicates that the equation is infeasible for the given start point (i.e. based on the current levels of variables when the model is generated). "remaining ... entries sk...
- 4 months ago
- Forum: Solvers
- Topic: Codes runs fine but stops halfway
- Replies: 6
- Views: 896
Re: Codes runs fine but stops halfway
The screenshot indicates that the job was not yet completed. Otherwise you would see
in the log (or some error message if there are any issues).
Can you please share the full log file?
Best,
Fred
Code: Select all
*** Status: Normal completion
Can you please share the full log file?
Best,
Fred