Right now it is clunky to get the result from the Solution type since the values for the Decisions are in a Map<DecisionName,float. While the reasoning for this was to ease the composition for the model, it makes actually extracting the results clunky.
I propose to make modeling slightly more complex but to dramatically ease the extraction of results by not have the create Decision functions return LinearExpression.
Right now it is clunky to get the result from the
Solution
type since the values for the Decisions are in aMap<DecisionName,float
. While the reasoning for this was to ease the composition for the model, it makes actually extracting the results clunky.I propose to make modeling slightly more complex but to dramatically ease the extraction of results by not have the create Decision functions return LinearExpression.