New line,

Hi everyone,
I was wondering is there any way to split a command in two lines. Like in matlab if you put ‘…’ you can type in the rest of your command in new line. For the sake of clarity, assume I have the following command to write some parameters in an excel file,

execute_unload “BrPrResults.gdx” zkeep, ysKeep, GenCostKeep, zFIX, zObjMaKeep
execute ‘gdxxrw.exe BrPrResults.gdx o=BrPrResults.xls par=zkeep rng=zkeep!A1 par=ysKeep rng=ysKeep!A1 par=GenCostKeep rng=GenCostKeep!A1 par=zFIX rng=zFIX!A1 par=zObjMaKeep rng=zObjMaKeep!A1’;

One way is to split the parameters into two or more subset and run gdx file and excel twice!! However it very naive and inefficient. Is there anyway to do it easier?

\

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.

Hi

In the gdx utilities documentation you will find a solution by writing a text file on the fly (example 14).

Cheers

Renger

From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of omid ziaee
Sent: Donnerstag, 22. Oktober 2015 18:52
To: gamsworld
Subject: New line,



Hi everyone,
I was wondering is there any way to split a command in two lines. Like in matlab if you put ‘…’ you can type in the rest of your command in new line. For the sake of clarity, assume I have the following command to write some parameters in an excel file,

execute_unload “BrPrResults.gdx” zkeep, ysKeep, GenCostKeep, zFIX, zObjMaKeep
execute ‘gdxxrw.exe BrPrResults.gdx o=BrPrResults.xls par=zkeep rng=zkeep!A1 par=ysKeep rng=ysKeep!A1 par=GenCostKeep rng=GenCostKeep!A1 par=zFIX rng=zFIX!A1 par=zObjMaKeep rng=zObjMaKeep!A1’;

One way is to split the parameters into two or more subset and run gdx file and excel twice!! However it very naive and inefficient. Is there anyway to do it easier?

\

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.


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 Renger,
Which documentation are you referring to? Could you please send me the document?
Omid,

On Friday, October 23, 2015 at 4:17:33 AM UTC-5, Renger van Nieuwkoop wrote:

Hi

In the gdx utilities documentation you will find a solution by writing a text file on the fly (example 14).

Cheers

Renger

From: gams...@googlegroups.com [mailto:gams...@googlegroups.com] On Behalf Of omid ziaee
Sent: Donnerstag, 22. Oktober 2015 18:52
To: gamsworld
Subject: New line,



Hi everyone,
I was wondering is there any way to split a command in two lines. Like in matlab if you put ‘…’ you can type in the rest of your command in new line. For the sake of clarity, assume I have the following command to write some parameters in an excel file,

execute_unload “BrPrResults.gdx” zkeep, ysKeep, GenCostKeep, zFIX, zObjMaKeep
execute ‘gdxxrw.exe BrPrResults.gdx o=BrPrResults.xls par=zkeep rng=zkeep!A1 par=ysKeep rng=ysKeep!A1 par=GenCostKeep rng=GenCostKeep!A1 par=zFIX rng=zFIX!A1 par=zObjMaKeep rng=zObjMaKeep!A1’;

One way is to split the parameters into two or more subset and run gdx file and excel twice!! However it very naive and inefficient. Is there anyway to do it easier?

\

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.

In your gamside click on Help-Docs-Tools-Gdxutils

Renger



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of omid ziaee
Sent: Friday, October 23, 2015 5:10 PM
To: gamsworld
Subject: Re: New line,



Dear Renger,
Which documentation are you referring to? Could you please send me the document?
Omid,

On Friday, October 23, 2015 at 4:17:33 AM UTC-5, Renger van Nieuwkoop wrote:

Hi

In the gdx utilities documentation you will find a solution by writing a text file on the fly (example 14).

Cheers

Renger

From: gams...@googlegroups.com [mailto:gams...@googlegroups.com] On Behalf Of omid ziaee
Sent: Donnerstag, 22. Oktober 2015 18:52
To: gamsworld
Subject: New line,



Hi everyone,
I was wondering is there any way to split a command in two lines. Like in matlab if you put ‘…’ you can type in the rest of your command in new line. For the sake of clarity, assume I have the following command to write some parameters in an excel file,

execute_unload “BrPrResults.gdx” zkeep, ysKeep, GenCostKeep, zFIX, zObjMaKeep
execute ‘gdxxrw.exe BrPrResults.gdx o=BrPrResults.xls par=zkeep rng=zkeep!A1 par=ysKeep rng=ysKeep!A1 par=GenCostKeep rng=GenCostKeep!A1 par=zFIX rng=zFIX!A1 par=zObjMaKeep rng=zObjMaKeep!A1’;

One way is to split the parameters into two or more subset and run gdx file and excel twice!! However it very naive and inefficient. Is there anyway to do it easier?

\

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.


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.