-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathackley.jl
More file actions
25 lines (25 loc) · 833 Bytes
/
ackley.jl
File metadata and controls
25 lines (25 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ackley_meta = Dict(
:nvar => 100,
:variable_nvar => true,
:ncon => 0,
:variable_ncon => false,
:minimize => true,
:name => "ackley",
:has_equalities_only => false,
:has_inequalities_only => false,
:has_bounds => true,
:has_fixed_variables => false,
:objtype => :other,
:contype => :unconstrained,
:best_known_lower_bound => 0.0,
:best_known_upper_bound => 0.0,
:is_feasible => true,
:defined_everywhere => missing,
:origin => :unknown,
)
get_ackley_nvar(; n::Integer = default_nvar, kwargs...) = n
get_ackley_ncon(; n::Integer = default_nvar, kwargs...) = 0
get_ackley_nlin(; n::Integer = default_nvar, kwargs...) = 0
get_ackley_nnln(; n::Integer = default_nvar, kwargs...) = 0
get_ackley_nequ(; n::Integer = default_nvar, kwargs...) = 0
get_ackley_nineq(; n::Integer = default_nvar, kwargs...) = 0