Skip to content

Commit e6a2fc0

Browse files
committed
changed: storeA_Umin, A_Umin, A_ΔŨmin and A_ΔŨmax as sparse matrices
1 parent 4a27d08 commit e6a2fc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/controller/construct.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ struct ControllerConstraint{NT<:Real, GCfunc<:Union{Nothing, Function}}
122122
x̂0min ::Vector{NT}
123123
x̂0max ::Vector{NT}
124124
# A matrices for the linear inequality constraints:
125-
A_Umin ::Matrix{NT}
126-
A_Umax ::Matrix{NT}
127-
A_ΔŨmin ::Matrix{NT}
128-
A_ΔŨmax ::Matrix{NT}
125+
A_Umin ::SparseMatrixCSC{NT, Int}
126+
A_Umax ::SparseMatrixCSC{NT, Int}
127+
A_ΔŨmin ::SparseMatrixCSC{NT, Int}
128+
A_ΔŨmax ::SparseMatrixCSC{NT, Int}
129129
A_Ymin ::Matrix{NT}
130130
A_Ymax ::Matrix{NT}
131131
A_x̂min ::Matrix{NT}

0 commit comments

Comments
 (0)