Skip to content

Commit 758f418

Browse files
committed
add structs
1 parent 2a0b37a commit 758f418

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/gdp.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
mutable struct Disjunct
2+
constraints::Vector{AbstractConstraint}
3+
indicator::VariableRef
4+
end
5+
6+
mutable struct DisjunctionConstraint <: AbstractConstraint
7+
disjuncts::Vector{Disjunct}
8+
end
9+
110
mutable struct GDPdata
211
gdp_variable_refs::Vector
312
gdp_variable_names::Vector

0 commit comments

Comments
 (0)