Search found 373 matches

by Fred
6 months ago
Forum: Solvers
Topic: mipemphasis
Replies: 4
Views: 11743

Re: mipemphasis

I doubt that there is a silver bullet in the form of a solver option. It is known that MIPs can be very hard to solve or it can be very hard to prove optimality of a solution. That said, there is a chance that you won't be able to close the gap. If you need further assistance, I suggest that you sha...
by Fred
6 months ago
Forum: Syntax
Topic: Parallelizing with GAMS/Lindo
Replies: 2
Views: 7005

Re: Parallelizing with GAMS/Lindo

Hi, Your syntax is correct. It does not matter whether you set the threads parameter through an option statement in GAMS, as a command line parameter or through NUM_THREADS in a lindo option file (read abooy sover option files here ). You can see that multiple threads have been used in the lindo log...
by Fred
6 months ago
Forum: Solvers
Topic: mipemphasis
Replies: 4
Views: 11743

Re: mipemphasis

Hi, mipemphasis is a GAMS/Cplex option. You need to put it into a Cplex option file. You can read more about how to use solver options here . You can for example create the Cplex option file on the fly from your code: [...] myModel /all/; myModel.optfile = 1; option solver=cplex; $onecho > cplex.opt...
by Fred
7 months ago
Forum: Bugs
Topic: Out of memory problem
Replies: 5
Views: 4877

Re: Out of memory problem

Hi,

Would it be possible to share your code and data such that we can try to reproduce the issue?

Best,
Fred
by Fred
7 months ago
Forum: Bugs
Topic: Out of memory problem
Replies: 5
Views: 4877

Re: Out of memory problem

Hi,

This message is explicitly discussed in the GAMS Conopt solver manual including a suggested solution (adjust the workFactor).

I hope this helps!

Fred
by Fred
7 months ago
Forum: Syntax
Topic: Changing location for lst files
Replies: 3
Views: 9311

Re: Changing location for lst files

Hi,

You can use the command line parameter output to do that.

I hope this helps!

Fred
by Fred
7 months ago
Forum: Syntax
Topic: stochastic multi stage optimisation
Replies: 1
Views: 6226

Re: stochastic multi stage optimisation

Hi,

You might want to have another look at point 2 of the forum rules.

Fred
by Fred
10 months ago
Forum: API
Topic: Trouble installing Python GAMS API on Mac OS
Replies: 5
Views: 4794

Re: Trouble installing Python GAMS API on Mac OS

Hi,

With GAMS 34 the Python API was not installed via pip. Please make sure to use the documenttation that matches your GAMS version. The documentation of GAMS 34 can be found here.

I hope this helps!

Fred
by Fred
10 months ago
Forum: Modeling
Topic: GAMS ERROR 781
Replies: 1
Views: 1798

Re: GAMS ERROR 781

Hi, The error you get is *** The following EMP errors were detected in model project: 781 Symbol m in dimension one not of type variable or equation in scenario dictionary Your symbol m is a parameter. In your dict set Set dict / scen .scenario.'' d .randvar .s_d m .level .s_m '' .opt .s_rep /; you ...
by Fred
10 months ago
Forum: Modeling
Topic: Code Solver
Replies: 2
Views: 1812

Re: Code Solver

The EMP Library has many examples of bilevel models.

I hope this helps!

Fred