#20325: GenericBackend: Add default implementation of `add_variables` and
`add_linear_constraints`
-------------------------------+------------------------
Reporter: mkoeppe | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.2
Component: numerical | Resolution:
Keywords: lp | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #20323 | Stopgaps:
-------------------------------+------------------------
Changes (by mkoeppe):
* dependencies: => #20323
Old description:
> `add_variables` and `add_linear_constraints` should have a default
> implementation in `GenericBackend`, like `add_linear_constraint_vector`.
New description:
The backend methods `add_variables` and `add_linear_constraints` should
have a default implementation in `GenericBackend`, like
`add_linear_constraint_vector`.
`add_variables` can be taken from Gurobi and also removed from CVXOPT and
InteractiveLP.
`add_linear_constraints` can be taken from COIN and also removed from
CVXOPT and InteractiveLP.
(The other backends have specific implementations of these methods; one
supposes that they are faster, though this probably has not been tested.)
Since the removal of the copy-pasted functions from the backends would
remove doctests, I mark this ticket as dependent on #20323.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/20325#comment:1>
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.