Skip to content

Commit

Permalink
No need to free the model.
Browse files Browse the repository at this point in the history
  • Loading branch information
Deborah Hendrych committed Nov 17, 2023
1 parent c627d29 commit aaf7e28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/MOI_bounded_oracle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Is implemented in the FrankWolfe package in file "moi_oracle.jl".
"""
function compute_extreme_point(blmo::MathOptBLMO, d; kwargs...)
lmo = convert(FrankWolfe.MathOptLMO, blmo)
# free_model(lmo.o)
v = FrankWolfe.compute_extreme_point(lmo, d; kwargs)
@assert blmo isa MathOptBLMO
return v
Expand Down Expand Up @@ -304,7 +303,6 @@ end
Check if problem is bounded and feasible, i.e. no contradicting constraints.
"""
function check_feasibility(blmo::MathOptBLMO)
# free_model(blmo)
MOI.set(
blmo.o,
MOI.ObjectiveFunction{MOI.ScalarAffineFunction{Float64}}(),
Expand Down

0 comments on commit aaf7e28

Please sign in to comment.