Changes between Version 2 and Version 5 of Ticket #20570


Ignore:
Timestamp:
Aug 17, 2016, 8:17:48 PM (6 years ago)
Author:
Matthias Köppe
Comment:

Replying to novoselt:

If you have found a bug in polyhedron code, please open a ticket to fix it!

This is now #21270.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20570 – Description

    v2 v5  
    22and in fact split out from the larger patch there.
    33
    4 While preparing this patch, I noticed that the code in current Sage is not able to plot some LPs with irrational data. This appears to be due to a bug in the Sage polyhedron code for RDF data (which InteractiveLP uses when the data are not rational).
    5 {{{
    6             sage: poly = polytopes.regular_polygon(7)
    7             sage: lp, x = poly.to_linear_program(solver='InteractiveLP', return_variable=True)
    8             sage: lp.set_objective(x[0] + x[1])
    9             sage: b = lp.get_backend()
    10             sage: P = b.interactive_lp_problem()
    11             sage: p = P.plot()    ### ERROR
    12             sage: p.show()
    13 }}}
     4While preparing this patch, I noticed that the code in current Sage is not able to plot some LPs with irrational data (this is now #21270).
    145The code on this ticket does not fix this; it actually has a different failure mode for this example.