JuliaStochOpt / StructDualDynProg.jl

Implementation of SDDP (Stochastic Dual Dynamic Programming) using the StructJuMP modeling interface
Other
23 stars 8 forks source link

[RFC] Cut interface #9

Open blegat opened 7 years ago

blegat commented 7 years ago

An AbstractNode must implements getoptimalitycut and getfeasibilitycut.

odow commented 7 years ago

Why not parameterise the cuts by :lb or :ub?

blegat commented 7 years ago

We could have something like that too but having different types can be helpful when we want to do multiple dispatch. We could also have Cut{Fun, LB} where Fun and LB are boolean

frapac commented 7 years ago

I think these notations make already sense with those used in CutPruners.jl: https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L17