Also while working on the GAMS transport tutorial, I discovered that all optimization items had inconsistent behavior in the facade layer: run.optimization.scalar.tabulate() would list all scalars of all runs, while ...list() would list only those of the run the scalars belong to. The latter is clearly desired, so this PR fixes the inconsistency and adds tests to confirm.
Since Parameter, Equation, and Variable have not yet landed on main, I'll include corresponding changes in their pending PRs.
Also while working on the GAMS transport tutorial, I discovered that all optimization items had inconsistent behavior in the facade layer:
run.optimization.scalar.tabulate()
would list all scalars of all runs, while...list()
would list only those of the run the scalars belong to. The latter is clearly desired, so this PR fixes the inconsistency and adds tests to confirm.Since
Parameter
,Equation
, andVariable
have not yet landed on main, I'll include corresponding changes in their pending PRs.