Skip to content

Commit dc19424

Browse files
committed
[UPD] Rename functions to prune cuts to be more explicit
1 parent 08be100 commit dc19424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SDDPoptimize.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ Return:
535535
- PolyhedralFunction: pruned polyhedral function
536536
537537
"""
538-
function prune_cuts(model::SPModel, params::SDDPparameters, V::PolyhedralFunction)
538+
function exact_prune_cuts(model::SPModel, params::SDDPparameters, V::PolyhedralFunction)
539539
ncuts = V.numCuts
540540
# Find all active cuts:
541541
if ncuts > 1
@@ -563,7 +563,7 @@ Return:
563563
- Bool: true if the cut is active, false otherwise
564564
565565
"""
566-
function is_cut_active(model::SPModel, k::Int, Vt::PolyhedralFunction, solver)
566+
function is_cut_relevant(model::SPModel, k::Int, Vt::PolyhedralFunction, solver)
567567

568568
m = Model(solver=solver)
569569
@defVar(m, alpha)

0 commit comments

Comments
 (0)