#20326: GenericBackend: Fix doctest of add_linear_constraint_vector
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-7.2
Component: numerical | Resolution:
Keywords: lp | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mkoeppe/genericbackend__fix_doctest_of_add_linear_constraint_vector|
dea0705ca3ff339dc7887ae040c1c787d03798a0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
`solver.add_variables(2)` throws a `NotImplementedError` immediately,
what's the point of the last commit then?
{{{
sage -t src/sage/numerical/backends/generic_backend.pyx
**********************************************************************
File "src/sage/numerical/backends/generic_backend.pyx", line 402, in
sage.numerical.backends.generic_backend.GenericBackend.add_linear_constraint_vector
Failed example:
solver.add_variables(2)
...
NotImplementedError
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20326#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.