Closed svigerske closed 3 years ago
Thanks @svigerske. I did some modifications (renamed the setting to Subsolver.GAMS.SolutionsFile
, and some formatting). It works from the command line. There should be no changes when calling it from GAMS I would assume, but can you verify?
Why would you put this option into the "Subsolver" category? This is about writing solutions that SHOT has found if SHOT was called on GAMS files or via GAMS, but not about solutions from a GAMS solver used on some NLP subproblems.
True. However, I would like to somehow identify that this is GAMS functionality in the name. For other use cases, the solutions are saved in the OSrL-file... What about Output.GAMS.SolutionFile?
True. However, I would like to somehow identify that this is GAMS functionality in the name. For other use cases, the solutions are saved in the OSrL-file... What about Output.GAMS.SolutionFile?
Yes, Output category is good. Should it be "SolutionsFile" or SolutionFile"?
Perhaps it should be AlternateSolutionsFile? Because it wont be populated if there is only one solution right?
yes, that would be precise
This adds writing all alternative solutions to a GDX file in the GAMS interface analogous to the (famous)
gams/dumpsolutionsmerged
option of GAMS/SCIP.I'm assuming here that
Results::primalSolutions[0]
is the solution that is already passed back to GAMS via the usual channels. Can one assume that?