User Tools

Site Tools


interfaces:export_of_all_elements_of_the_solution_including_zero-elements_to_gdx_and_excel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
interfaces:export_of_all_elements_of_the_solution_including_zero-elements_to_gdx_and_excel [2008/09/18 16:54]
support
interfaces:export_of_all_elements_of_the_solution_including_zero-elements_to_gdx_and_excel [2013/06/05 10:28] (current)
support
Line 19: Line 19:
 Execute '​gdxxrw x2.gdx o=x.xls Squeeze=N var=x.l rng=x2!a1 dim=1';​ </​code>​ Execute '​gdxxrw x2.gdx o=x.xls Squeeze=N var=x.l rng=x2!a1 dim=1';​ </​code>​
  
-As long as you do not use the scale field (or ''​modelname.scaind=1''​) this will work find for you. +As long as you do not use the scale field (or ''​modelname.scaind=1''​) this will work fine for you. 
  
 Another option is to reassign the ''​x.l=0''​ to ''​x.l=eps'':​ ''​x.l(i,​j)$(x.l=0) = eps;''​. The numerical value is still 0, but the record will exist. On the gdxxrw call you can '​rename'​ eps to zero: Another option is to reassign the ''​x.l=0''​ to ''​x.l=eps'':​ ''​x.l(i,​j)$(x.l=0) = eps;''​. The numerical value is still 0, but the record will exist. On the gdxxrw call you can '​rename'​ eps to zero:
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY interfaces/export_of_all_elements_of_the_solution_including_zero-elements_to_gdx_and_excel.txt ยท Last modified: 2013/06/05 10:28 by support