#12220: Updated CBC spkg
----------------------------------+-----------------------------------------
Reporter: ncohen | Owner: ncohen
Type: enhancement | Status: needs_info
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_work => needs_info
Comment:
I've inquired w/Cbc list about whether it's possible to retain the model
after solving. If, as I suspect, it is not, then the situation I'm
envisioning now is the following: the `CoinBackend` will have the
following data members: `solution`, an array of doubles initialized to
`NULL`; `obj_value`, the objective value of the solution; `log_level`, the
amount of verbosity desired. If the user requests a solution ''or'' the
objective value, an exception is raised if `solution == NULL`; otherwise,
the data requested is given. Whenever the user modifies the LP in anyway
way (adds columns, rows, etc.), `solution` will be set to `NULL`, since
the old solution is no longer valid.
This setup makes a lot of sense to me, but do you foresee anything going
wrong with it?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12220#comment:25>
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.