I am wondering how to show the index pane of .lst file in GAMS studio? Index pane is the below image. It comes automatically when using IDE but I cannot find any way to see this tree structure of index pane when looking at .lst file in GAMS Studio. Can anybody help? I am using version 31.1.1. Thanks.
By default, it should be there, just like in the IDE. I just tried it:
The logic for showing this is actually the same in the IDE and Studio: If the file .lxi exists next to .lst, this is shown. Otherwise not. And this lxi file gets created, if you run your model from the IDE or from Studio (it is not created by default, if you run from the command line). It could actually happen, that the pane got minimized. In this case, you could move the cursor to the left of the lst view. It will change to indicate, that you can adjust the size of the panes. From there, you could increase/unhide the missing pane again.
Hi,
Thanks for your reply. Actually, when the model is solved then .lst and .lxi and .log will be created but still I have not this pane on the left! Besides, .lst file itself can be open in Studio and IDE but in my case similar .lst file have the index pane in IDE but not in Studio!
I also checked minimization of the pane (or maybe hide somewhere) but it is not happening for me.
More information:
I ran another code by myself and also a code from GAMS library and the index pane appear! But I ran two other different codes written by myself and index pane is not appearing in Studio! But it comes in IDE, very strange! Maybe some specific object in a written code can cause it. If I find the reason then I will report it, until then I will be thankful if anyone has similar experience. Thanks.
I didn’t understand “–ignore-settings” part but anyway for trnsport model I have the pane and as I said I have this pane for some other models as well but for some models it will not appear; however, the lxi is created and I can open it in IDE but not in studio.
I found the strange reason!
Thanks for your help. I copied my .gms file and wanted to send you and then I tried it once more but it worked! Why? Just because of its name! I rename the .gms file but it affects the index pane! For example, please save the “trnsport.gms” file with the name of “1. trnsport.gms” and then run it. Can you see the index pane? I cannot and I think you cannot either! But if you rename it without number and dot (1. ) in the first of its name everything will fix. This is the reason some of my files have not this index pane because I sorted some of them with number and a dot!
I think it can be a very minor bug. Please try my example and if you still didn’t get it completely inform me because I want to assist GAMS to fix this bug in the next versions. Thank you anyway.
Thank you very much for this report! I can reproduce it and this is definitely no wanted behavior. I hope, that we have a fix for this with the next release.