Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
shtadinada committed Nov 14, 2024
1 parent 5450700 commit 95b5e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 0 additions & 2 deletions examples/small_example.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using AbsSmoothFrankWolfe

using FrankWolfe

using LinearAlgebra
using JuMP
using HiGHS
Expand Down

0 comments on commit 95b5e78

Please sign in to comment.