#20323: Common TestSuite for MIP backends
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: enhancement | 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/common_testsuite_for_mip_backends|
407532db90231cb924b73fc87fa6e252aff33c8d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
You should not implement `_test_*` method that modifies the object. I am
not sure there is any control in which order things are executed. It would
be better in this case to not use the test suite. I would rather have a
file tests.py that is only made of doctests.
Moreover, it would make sense to also have comparison between different
implementations. You can start with
{{{
sage: milps = []
sage: milps.append(MixedIntegerLinearProgram(solver='cplex') # optional -
cplex
sage: milps.append(MixedIntegerLinearProgram(solver='coin') # optional
- cbc
}}}
and then loop over the elements in milps.
--
Ticket URL: <http://trac.sagemath.org/ticket/20323#comment:17>
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.