Skip to content

Commit

Permalink
simplified constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon committed May 15, 2018
1 parent f296e13 commit 8fe467b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SimpleProblem/SimpleProblem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ mutable struct SimpleMasterProblem{ST<:AbstractSubProblem,N1<:Number,N2<:Number,

rmp::MathProgBase.AbstractLinearQuadraticModel # restricted Master Problem
sp::ST # sub-problem
SimpleMasterProblem(A::M,b::V,rmp::MathProgBase.AbstractLinearQuadraticModel,sp::ST) where {ST<:AbstractSubProblem,N1<:Number,N2<:Number,M<:AbstractMatrix{N1},V<:AbstractVector{N2}} =
new{ST,N1,N2,M,V}(A,b,rmp,sp)
end

# TODO build convenient constructor functions for SimpleMasterProblem
Expand Down

0 comments on commit 8fe467b

Please sign in to comment.