Posts: 4
Threads: 2
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Sep 2022
I finished running a model and try to see the activity level of a specific process. However, in the results, I didn’t find VAR_Act of the process that I am interested in. Only see VAR_ActM, which might be the dual variable of it bounding constraints. Can anyone suggest:
1. How they can be shown in the results? Any settings I need to configure?
2. How can one see the quantities of commodities?
3. Can the users get access to the prime and dual solutions of the original LP problem? Or is there anyway to export them?
Posts: 1,889
Threads: 25
Likes Received: 44 in 37 posts
Likes Given: 12
Joined: Jun 2010
24-05-2023, 07:09 PM
(This post was last modified: 24-05-2023, 07:30 PM by Antti-L.)
> 1. How they can be shown in the results? Any settings I need to configure?
If the VAR_ACT level is zero, it is not reported. Therefore, if you don't see it reported, you know it is not active in the solution, but on its default lower bound (zero).
> 2. How can one see the quantities of commodities?
Process flows of commodities are reported by Var_FIN / Var_FOUT. Aggregated commodity production and net levels are reported by Var_COMPRD / Var_COMNET, etc. For more info on results attributes, please see the documentation.
> 3. Can the users get access to the prime and dual solutions of the original LP problem? Or is there anyway to export them?
They are available in the GDX file produced from the run, and can easily be read from there if you like. But all the variable levels (primal) are reported by TIMES anyway, and all important duals as well, albeit mostly undiscounted. Therefore, I have almost never needed to look for any missing solution info.