Search found 372 matches

by Fred
6 months ago
Forum: Syntax
Topic: Parallelizing with GAMS/Lindo
Replies: 2
Views: 6996

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: 11731

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: 4867

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: 4867

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: 9296

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: 6219

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: 4783

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: 1782

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: 1806

Re: Code Solver

The EMP Library has many examples of bilevel models.

I hope this helps!

Fred
by Fred
1 year ago
Forum: Modeling
Topic: Error 195,318,409
Replies: 3
Views: 1932

Re: Error 195,318,409

GAMS is case insensitive. You cannot have a symbol "c" and another symbol "C".

I hope this helps.