Skip to content

Commit 7dc3f14

Browse files
committed
[FIX] Update syntax to JuMP 0.16
1 parent f8d7afc commit 7dc3f14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/oneStepOneAleaProblem.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ function solve_one_step_one_alea(model,
5757
alpha = getvariable(m, :alpha)
5858

5959
# Update value of w:
60-
setvalue(w, xi)
60+
for ii in 1:model.dimNoises
61+
JuMP.fix(w[ii], xi[ii])
62+
end
6163

6264
# Update constraint x == xt
6365
for i in 1:model.dimStates

0 commit comments

Comments
 (0)