Skip to content

Commit 245986d

Browse files
committed
[FIX] Fix broken quadratic regularization
1 parent 24ea004 commit 245986d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/forwardBackwardIterations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function forward_simulations(model::SPModel,
145145
reg = get(regularizer)
146146
xp = getincumbent(reg, t, k)
147147
sol, ts = regularize(model, param, reg,
148-
solverProblems[t], t, state_t, alea_t, xp,verbosity = verbosity)
148+
solverProblems[t], t, state_t, alea_t, xp, verbosity)
149149
else
150150
# switch between HD and DH info structure
151151
if model.info == :HD

src/oneStepOneAleaProblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function regularize(model, param,
155155
qexp = getpenaltyexpr(regularizer, xf, xp)
156156
# and update model objective:
157157
@objective(m, :Min, m.obj + qexp)
158-
res = solve_one_step_one_alea(model, param, m, t, xt, xi,verbosity)
158+
res = solve_one_step_one_alea(model, param, m, t, xt, xi,verbosity=verbosity)
159159
m.obj = pobj
160160

161161
return res

0 commit comments

Comments
 (0)