-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathchebyquad.jl
More file actions
26 lines (26 loc) · 956 Bytes
/
chebyquad.jl
File metadata and controls
26 lines (26 loc) · 956 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
26
chebyquad_meta = Dict(
:nvar => 100,
:variable_nvar => true,
:ncon => 0,
:variable_ncon => false,
:minimize => true,
:name => "chebyquad",
:has_equalities_only => false,
:has_inequalities_only => false,
:has_bounds => false,
:has_fixed_variables => false,
:objtype => :least_squares,
:contype => :unconstrained,
:best_known_lower_bound => -Inf,
:best_known_upper_bound => 500.0,
:is_feasible => true,
:defined_everywhere => missing,
:origin => :unknown,
)
get_chebyquad_nvar(; n::Integer = default_nvar, kwargs...) = n
get_chebyquad_ncon(; n::Integer = default_nvar, kwargs...) = 0
get_chebyquad_nlin(; n::Integer = default_nvar, kwargs...) = 0
get_chebyquad_nnln(; n::Integer = default_nvar, kwargs...) = 0
get_chebyquad_nequ(; n::Integer = default_nvar, kwargs...) = 0
get_chebyquad_nineq(; n::Integer = default_nvar, kwargs...) = 0
get_chebyquad_nls_nequ(; n::Integer = default_nvar, m::Int = n, kwargs...) = max(m, n)