Skip to content

Commit 265af4d

Browse files
committed
[DEV] Remove dead code in onesteponealea
1 parent 11fac29 commit 265af4d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/oneStepOneAleaProblem.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,12 @@ function solve_one_step_one_alea(model,
5656
# Update value of w:
5757
setvalue(w, xi)
5858

59-
# If this is the first call to the solver, value-to-go are approximated
60-
# with null function:
61-
if init
62-
@constraint(m, alpha >= 0)
63-
end
6459
# Update constraint x == xt
6560
for i in 1:model.dimStates
6661
JuMP.setRHS(m.ext[:cons][i], xt[i])
6762
end
6863

69-
7064
status = solve(m)
71-
7265
solved = (status == :Optimal)
7366

7467
if solved

0 commit comments

Comments
 (0)