GAMSCHK

Hi everyone,

I have a problem in using GAMSCHK. I can not save a file as .GCK. On GAMS web it says “GAMSCHK is a standard part of all GAMS releases. If you do not have it you need to update your system”. I have using GAMS 24 and Windows 7 Enterprise. What can be the problem?

Thank you very much in advance for any help!

Yalin


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Dear Yalin,

you could use this procedure to write the file, and include the
options as described in the gamschk documentattion:

OPTION LP=GAMSCHK;

$onecho > %system.fn%.gck

BLOCKPIC
postopt

$offecho

SOLVE yourmodel using yoursolver operation variable;

hope this helps,
Roger

2014-10-17 18:13 GMT+02:00 Yalin Huang :

Hi everyone,

I have a problem in using GAMSCHK. I can not save a file as .GCK. On GAMS
web it says “GAMSCHK is a standard part of all GAMS releases. If you do not
have it you need to update your system”. I have using GAMS 24 and Windows 7
Enterprise. What can be the problem?

Thank you very much in advance for any help!

Yalin


“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

Dear Roger,

Thank you very much! It works now :slight_smile: Can I ask what does “system.fn” mean?

Yalin

On Monday, 20 October 2014 13:51:05 UTC+2, Roger Cremades wrote:

Dear Yalin,

you could use this procedure to write the file, and include the
options as described in the gamschk documentattion:

OPTION LP=GAMSCHK;

$onecho > %system.fn%.gck

BLOCKPIC
postopt

$offecho

SOLVE yourmodel using yoursolver operation variable;

hope this helps,
Roger

2014-10-17 18:13 GMT+02:00 Yalin Huang :

Hi everyone,

I have a problem in using GAMSCHK. I can not save a file as .GCK. On GAMS
web it says “GAMSCHK is a standard part of all GAMS releases. If you do not
have it you need to update your system”. I have using GAMS 24 and Windows 7
Enterprise. What can be the problem?

Thank you very much in advance for any help!

Yalin


“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

dear Yalin,
the line
$onecho > %system.fn%.gck
writes into the gck file what you put before the next $offecho, so
“system.fn” it is used to write/overwrite the .GCK file when you run
your gams file.
If your gams file name is “filename.gms”, %system.fn% creates filename.GCK;
“system.fn” keeps the filename
hope this answer your question,
Roger

2014-10-22 12:14 GMT+02:00 Yalin Huang :

Dear Roger,

Thank you very much! It works now :slight_smile: Can I ask what does “system.fn” mean?

Yalin

On Monday, 20 October 2014 13:51:05 UTC+2, Roger Cremades wrote:

Dear Yalin,

you could use this procedure to write the file, and include the
options as described in the gamschk documentattion:

OPTION LP=GAMSCHK;

$onecho > %system.fn%.gck

BLOCKPIC
postopt

$offecho

SOLVE yourmodel using yoursolver operation variable;

hope this helps,
Roger

2014-10-17 18:13 GMT+02:00 Yalin Huang :

Hi everyone,

I have a problem in using GAMSCHK. I can not save a file as .GCK. On
GAMS
web it says “GAMSCHK is a standard part of all GAMS releases. If you do
not
have it you need to update your system”. I have using GAMS 24 and
Windows 7
Enterprise. What can be the problem?

Thank you very much in advance for any help!

Yalin


You received this message because you are subscribed to the Google
Groups
“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

Dear Roger,

Thank you very much! Now it is crystal clear :slight_smile:

Yalin

On Wednesday, 22 October 2014 13:39:22 UTC+2, Roger Cremades wrote:

dear Yalin,
the line
$onecho > %system.fn%.gck
writes into the gck file what you put before the next $offecho, so
“system.fn” it is used to write/overwrite the .GCK file when you run
your gams file.
If your gams file name is “filename.gms”, %system.fn% creates filename.GCK;
“system.fn” keeps the filename
hope this answer your question,
Roger

2014-10-22 12:14 GMT+02:00 Yalin Huang :

Dear Roger,

Thank you very much! It works now :slight_smile: Can I ask what does “system.fn” mean?

Yalin

On Monday, 20 October 2014 13:51:05 UTC+2, Roger Cremades wrote:

Dear Yalin,

you could use this procedure to write the file, and include the
options as described in the gamschk documentattion:

OPTION LP=GAMSCHK;

$onecho > %system.fn%.gck

BLOCKPIC
postopt

$offecho

SOLVE yourmodel using yoursolver operation variable;

hope this helps,
Roger

2014-10-17 18:13 GMT+02:00 Yalin Huang :

Hi everyone,

I have a problem in using GAMSCHK. I can not save a file as .GCK. On
GAMS
web it says “GAMSCHK is a standard part of all GAMS releases. If you do
not
have it you need to update your system”. I have using GAMS 24 and
Windows 7
Enterprise. What can be the problem?

Thank you very much in advance for any help!

Yalin


You received this message because you are subscribed to the Google
Groups
“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


“gamsworld” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.