Skip to content

Commit e1e03be

Browse files
committed
[UPD] Delete unecessary test in stock_example
1 parent ba8531e commit e1e03be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/stock-example.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ paramSDP = SDPparameters(spmodel, stateSteps, controlSteps, infoStruct)
8484
Vs = sdp_optimize(spmodel,paramSDP)
8585
lb_sdp = StochDynamicProgramming.get_value(spmodel,paramSDP,Vs)
8686
println("Lower bound obtained by SDP: "*string(lb_sdp))
87-
controlu = get_control(spmodel, paramSDP, Vs, 3, [S0])
88-
controluhd = get_control(spmodel, paramSDP, Vs, 3, [0], [0.3])
8987

9088
######### Comparing the solution
9189
#scenarios = StochDynamicProgramming.generate_scenarios(xi_laws,1)

0 commit comments

Comments
 (0)