Skip to content

Commit 710b392

Browse files
author
LuizFCDuarte
committed
🐛 Filter paremeters in elestic_net start values
1 parent 2322720 commit 710b392

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/models/sarima.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ function optimizeModel!(jumpModel::Model, model::SARIMAModel, objectiveFunction:
984984
best_bic = current_bic
985985
end
986986
aux_variables = all_variables(jumpModel)
987+
# Filter the parameters
988+
aux_variables = filter(x -> !is_parameter(x), aux_variables)
987989
aux_solutions = value.(aux_variables)
988990
set_start_value.(aux_variables, aux_solutions)
989991
end

0 commit comments

Comments
 (0)