From 237e7d7677990bf86244dafec9c761f5b994571f Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 8 Apr 2024 10:11:19 +1200 Subject: [PATCH] [Bridges] remove two unused methods --- src/Bridges/bridge_optimizer.jl | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Bridges/bridge_optimizer.jl b/src/Bridges/bridge_optimizer.jl index a5b5a363b0..3981066a22 100644 --- a/src/Bridges/bridge_optimizer.jl +++ b/src/Bridges/bridge_optimizer.jl @@ -2222,14 +2222,6 @@ function bridged_function(b::AbstractBridgeOptimizer, func::MOI.VariableIndex) return func end -# Shortcut to avoid `Variable.throw_if_cannot_unbridge(Variable.bridges(b))` -function bridge_function( - ::AbstractBridgeOptimizer, - value::MOI.Utilities.ObjectOrTupleOrArrayWithoutIndex, -) - return value -end - """ unbridged_variable_function( b::AbstractBridgeOptimizer, @@ -2328,14 +2320,6 @@ function bridged_constraint_function( return MOI.Utilities.normalize_constant(f, set) end -function bridged_constraint_function( - b::AbstractBridgeOptimizer, - func::MOI.VariableIndex, - set::MOI.AbstractScalarSet, -) - return bridged_function(b, func), set -end - """ unbridged_constraint_function( b::AbstractBridgeOptimizer,