Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiedxu committed Aug 26, 2019
1 parent 2186c36 commit e88e027
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/benders/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ end

"JuMP Model of Master Problem"
mutable struct ModMas
expr
expr::Model
vec_y

function ModMas(n_y, vec_min_y, vec_max_y)
Expand Down Expand Up @@ -110,6 +110,8 @@ end

include("./milp.jl")
include("./l-shaped.jl")
include("./slave.jl")


export ModMilpBenders, solveModMilpBenders!

Expand Down
2 changes: 1 addition & 1 deletion src/benders/milp.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Benders Decomposition for MILP with Sub and Ray Problems
# Author: Edward J. Xu, edxu96@outlook.com
# Date: April 5th, 2019
# Date: April 25th, 2019

"MILP model for Benders decomposition in matrix form."
mutable struct ModMilpBenders
Expand Down
3 changes: 3 additions & 0 deletions src/benders/slave.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Benders Decomposition for MILP with Sub and Ray Problems
# Edward J. Xu, edxu96@outlook.com
# April 25th, 2019

mutable struct ModRay
expr
Expand Down

0 comments on commit e88e027

Please sign in to comment.