Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion old/problems/NN_CIFAR10.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ trained_model = train_knetNLPmodel!(
all_data = false,
verbose = false,
)

1 change: 0 additions & 1 deletion old/testParam.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@


# C = R2ParameterSet{R}(√eps(R), √eps(R), 0.1, 0.01, 0.1, 1.9, zero(R), 0.9) # with issues

11 changes: 10 additions & 1 deletion src/SR2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,16 @@ end
kwargs...,
) where {T,V}
solver = SR2Solver(nlp)
nlp_param = R2ParameterSet{T}(atol=atol, rtol=rtol, η1=η1, η2=η2, γ1=γ1, γ2=γ2, σmin=σmin, β = β) #(√eps(R), √eps(R), 0.1, 0.3, 1.1, 1.9, zero(R), 0.9) # TODO add the param here
nlp_param = R2ParameterSet{T}(
atol = atol,
rtol = rtol,
η1 = η1,
η2 = η2,
γ1 = γ1,
γ2 = γ2,
σmin = σmin,
β = β,
) #(√eps(R), √eps(R), 0.1, 0.3, 1.1, 1.9, zero(R), 0.9) # TODO add the param here
return SolverCore.solve!(solver, nlp_param, nlp; kwargs...)
end

Expand Down
2 changes: 1 addition & 1 deletion src/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ include("models/lenet_mnist.jl")


#TODO
# RENSET
# RENSET