Closed rtwalker closed 4 years ago
Note: I'm happy to try to help with either of the issues I just opened. I did a little digging on each but didn't see an apparent solution to either, so I might need a little guidance.
Hey,
I believe the @expression
is incorrectly added to the decision generator. Adding a filter for @expression
to: https://github.com/martinbiel/StochasticPrograms.jl/blob/master/src/methods/creation.jl#L593-L607 might sort it out!
Thanks for the suggestion! I've made the change locally and will try it out. If I don't run into any problems, I'll create a PR later this week.
I'm not sure whether this one counts as a bug or a feature request, but using JuMP expressions inside of a model seems to give the
LShaped.Optimizer
some trouble.Here is an example using the model from the Quick Start: