id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
20447 Wrong result from delsarte_bound_additive_hamming_space with GLPK exact simplex mkoeppe "`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
}}}
" defect needs_work major sage-wishlist coding theory lp dimpase N/A #20406