Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 19, 2023
1 parent 2abef7e commit 681e5b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,5 @@ function MOI.get(
MOI.throw_if_not_valid(model, x)
return model.primal_solution[x]
end

MOI.get(model::Optimizer, ::MOI.SolveTimeSec) = model.solve_time_sec

0 comments on commit 681e5b2

Please sign in to comment.