Skip to content

Commit

Permalink
add ho
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed Feb 5, 2024
1 parent 478e3f3 commit e9e1548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lectures/cons_smooth.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def compute_variation(model, ξ1, ϕ, a0, y_seq, verbose=1):
if verbose == 1:
print('check feasible:', np.isclose(β_seq @ v_seq, 0)) # since β = 1/R
c_opt, _ = compute_optimal(model, a0, y_seq)
c_opt, _, _ = compute_optimal(model, a0, y_seq)
cvar_seq = c_opt + v_seq
return cvar_seq
Expand Down

0 comments on commit e9e1548

Please sign in to comment.