#12220: Updated CBC spkg
----------------------------------+-----------------------------------------
Reporter: ncohen | Owner: ncohen
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.8
Component: linear programming | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Nathann Cohen
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Changes (by john_perry):
* status: needs_info => needs_review
Comment:
I have a working patch. Names of the problem, rows, and columns are
implemented in the Cython object as Python strings (the `str` type). If
C++'s `std::string` is somehow accessible from Sage, I can implement them
in the C++ object instead (i.e., the solver), but I'll need info on how to
do that. I've left an inquiry at sage-devel.
One doctest doesn't pass: in `mip.pyx`, the test of the `write_lp()`
method in line 685 raises a `NotImplementedError`. Since this was
''never'' implemented with Coin, I don't consider it a deal breaker. I
think I can fix it if you want; the `OsiSolverInterface` provides a
`writeMps()` method that
Write[s] the problem in MPS format to the specified file.
So, I can implement that, too, if people insist, but I don't want to, and
I'm not sure if the `writeMps()` method does what the `write_lp()` method
is supposed to do. So, I won't do anything for now. `:-P`
Otherwise, '''all doctests pass.''' Please review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12220#comment:35>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.