From aaf7e28b90015d4796a1714f05e029dd4a915801 Mon Sep 17 00:00:00 2001 From: Deborah Hendrych Date: Fri, 17 Nov 2023 18:07:19 +0100 Subject: [PATCH] No need to free the model. --- src/MOI_bounded_oracle.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/MOI_bounded_oracle.jl b/src/MOI_bounded_oracle.jl index 96de7693c..3b7970a2b 100644 --- a/src/MOI_bounded_oracle.jl +++ b/src/MOI_bounded_oracle.jl @@ -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 @@ -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}}(),