#20376: LoggingBackend - delegating MIP backend class that logs input/output to
backend methods
-------------------------------------+-------------------------------------
       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:
  
u/mkoeppe/loggingbackend___delegating_mip_backend_class_that_logs_input_output_to_backend_methods|
  e7ef1eab2afffb239b253b354cdebff8965af13c
   Dependencies:  #20406, #20323     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by mkoeppe):

 * cc: dimpase, vdelecroix, vbraun, nthiery (added)
 * dependencies:   => #20406, #20323


Old description:

> This is a debugging tool. The delegating class looks much like
> `HybridBackend` from #18735.
>
> The logging should be done (optionally) in a way that testcases using
> `MixedIntegerLinearProgram` such as the the one reported in #18572 are
> translated to testcases for backends, suitable for copy-pasting into new
> `_test` methods (#20323).

New description:

 This is a debugging tool. It logs calls to the methods of MIP backends.

 There are three output formats:
  - on-screen comments
  - doctests, suitable for cut and paste
  - `_test_*` methods for the backends (#20323).

 I have already used this code to translate the testcase using the
 `MixedIntegerLinearProgram` reported in #18572 to a testcase in the style
 of the `_test_*` methods for the backends. The result has been committed
 on #20323.

--

Comment:

 The branch is on top of #20406.
 The `_test` methods that this class generates mimic the ones written in
 #20323, which is why I mark it as a dependency.

--
Ticket URL: <http://trac.sagemath.org/ticket/20376#comment:3>
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.

Reply via email to