-
-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Description
delsarte_bound_additive_hamming_space
should be guarded, using epsilons, against floating point fuzz that will appear with numerical solvers and even the GLPK exact solver because of the nature of its interface.
sage: delsarte_bound_additive_hamming_space(19,15,7,isinteger=False)
3
sage: from sage.numerical.backends.generic_backend import get_solver
sage: def glpk_exact_solver():
b = get_solver(solver="GLPK")
b.solver_parameter("simplex_or_intopt", "exact_simplex_only")
return b
sage: delsarte_bound_additive_hamming_space(19,15,7,solver=glpk_exact_solver,isinteger=False)
glp_exact: 54 rows, 20 columns, 795 non-zeros
...
2
Depends on #20406
CC: @dimpase
Component: coding theory
Issue created by migration from https://trac.sagemath.org/ticket/20447