diff --git a/docs/src/examples/FOBP_example2.jl b/docs/src/examples/FOBP_example2.jl index b465a81c..fe8e772f 100644 --- a/docs/src/examples/FOBP_example2.jl +++ b/docs/src/examples/FOBP_example2.jl @@ -25,7 +25,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) diff --git a/docs/src/examples/FOBP_example3.jl b/docs/src/examples/FOBP_example3.jl index 8f036f12..6c8f7282 100644 --- a/docs/src/examples/FOBP_example3.jl +++ b/docs/src/examples/FOBP_example3.jl @@ -33,7 +33,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) diff --git a/docs/src/examples/FOBP_example4.jl b/docs/src/examples/FOBP_example4.jl index 8f572803..f50a5757 100644 --- a/docs/src/examples/FOBP_example4.jl +++ b/docs/src/examples/FOBP_example4.jl @@ -20,7 +20,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) diff --git a/docs/src/examples/FOBP_example5.jl b/docs/src/examples/FOBP_example5.jl index 81f460ed..5f787504 100644 --- a/docs/src/examples/FOBP_example5.jl +++ b/docs/src/examples/FOBP_example5.jl @@ -22,13 +22,10 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) -# Global variables -atol = 1e-3 - # First we need to create all of the variables in the upper and lower problems: # Upper level variables @@ -53,8 +50,6 @@ atol = 1e-3 @constraint(Lower(model), -4x + 5y <= 10) @constraint(Lower(model), -4x - 5y <= 10) -# Initial Starting conditions #src - # Now we can solve the problem and verify the solution again that reported by # Dempe. diff --git a/docs/src/examples/PHTP_example1.jl b/docs/src/examples/PHTP_example1.jl index c7a2ca6b..84275261 100644 --- a/docs/src/examples/PHTP_example1.jl +++ b/docs/src/examples/PHTP_example1.jl @@ -23,7 +23,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) diff --git a/docs/src/examples/PHTP_example2.jl b/docs/src/examples/PHTP_example2.jl index 95c4017d..fab16c81 100644 --- a/docs/src/examples/PHTP_example2.jl +++ b/docs/src/examples/PHTP_example2.jl @@ -24,7 +24,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel(Ipopt.Optimizer; mode = BilevelJuMP.ProductMode(1e-9)) diff --git a/docs/src/examples/SOCBLP_example1.jl b/docs/src/examples/SOCBLP_example1.jl index 48f39608..65b41571 100644 --- a/docs/src/examples/SOCBLP_example1.jl +++ b/docs/src/examples/SOCBLP_example1.jl @@ -32,7 +32,7 @@ using BilevelJuMP using Ipopt -using Test +using Test #src model = BilevelModel( () -> MOI.Bridges.Constraint.SOCtoNonConvexQuad{Float64}(Ipopt.Optimizer());