Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Test/config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ struct TestConfig{T<:Real}
atol::T # absolute tolerance for ...
rtol::T # relative tolerance for ...
solve::Bool # optimize and test result
query_number_of_constraints::Bool # can get `MOI.NumberOfConstraints` attribute
query::Bool # can get objective function, and constraint functions, and constraint sets
modify_lhs::Bool # can modify function of a constraint
duals::Bool # test dual solutions
Expand All @@ -15,6 +16,7 @@ struct TestConfig{T<:Real}
atol::Real = Base.rtoldefault(T),
rtol::Real = Base.rtoldefault(T),
solve::Bool = true,
query_number_of_constraints::Bool = true,
query::Bool = true,
modify_lhs::Bool = true,
duals::Bool = true,
Expand All @@ -27,6 +29,7 @@ struct TestConfig{T<:Real}
atol,
rtol,
solve,
query_number_of_constraints,
query,
modify_lhs,
duals,
Expand Down
Loading