Skip to content

Commit

Permalink
Update workspace.jl hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored Dec 3, 2024
1 parent 8980f73 commit 94f3c0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/workspace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,8 @@ function SolverCore.reset!(
workspace.tr.radius = workspace.tr.initial_radius
return workspace
end

function DCIWorkspace(nlp::AbstractNLPModel)
meta = MetaDCI(nlp.meta.x0, nlp.meta.y0)
return DCIWorkspace(nlp, meta)
end

0 comments on commit 94f3c0c

Please sign in to comment.