From 95b5e789e24586f8f20da52e259a5e471156409d Mon Sep 17 00:00:00 2001 From: shtadinada Date: Thu, 14 Nov 2024 09:30:03 +0100 Subject: [PATCH] example --- README.md | 6 +++--- examples/small_example.jl | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 88316f0..3c9bfe6 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ using HiGHS import MathOptInterface const MOI = MathOptInterface -# DEM +# CB3 function f(x) - return max(5*x[1]+x[2], -5*x[1]+x[2], x[1]^2+x[2]^2+4*x[2]) + return max(x[1]^4+x[2]^2, (2-x[1])^2+(2-x[2])^2, 2*exp(x[2]-x[1])) end # evaluation point x_base -x_base = [1.0,1.0] +x_base = [3.0,1.0] n = length(x_base) lb_x = [-5 for in in x_base] diff --git a/examples/small_example.jl b/examples/small_example.jl index 5a40c72..0fbbe2b 100644 --- a/examples/small_example.jl +++ b/examples/small_example.jl @@ -1,7 +1,5 @@ using AbsSmoothFrankWolfe - using FrankWolfe - using LinearAlgebra using JuMP using HiGHS