Changes between Initial Version and Version 11 of Ticket #21449


Ignore:
Timestamp:
Sep 15, 2016, 1:16:15 AM (6 years ago)
Author:
Matthias Köppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21449

    • Property Status changed from new to needs_review
    • Property Cc Matthias Köppe added
    • Property Branch changed from to u/jdemeyer/coinbackend___test_solve_fails_on_32_bit
    • Property Commit changed from to 33ad25e5f987021eff7eb501e9e8416b89d9eca8
    • Property Reviewers changed from to Thierry Monteil
  • Ticket #21449 – Description

    initial v11  
    2020**********************************************************************
    2121}}}
     22
     23This is what is happening on a 32-bit Linux:
     24{{{
     25sage: from sage.numerical.backends.coin_backend import CoinBackend
     26sage: p = CoinBackend()
     27sage: p.add_linear_constraints(5, 0, None)
     28sage: p.add_col(range(5), range(5))
     29sage: p.objective_coefficient(0,1)
     30sage: p.solve()
     310
     32sage: p.set_verbosity(3)
     33sage: p.solve()
     34Cbc3007W No integer variables - nothing to do
     35Clp0006I 0  Obj 0 Dual inf 0.9999999 (1)
     36Clp0000I Optimal - objective value -1.7976931e+308
     370   ### Instead, an exception should have been raised.
     38sage: p.get_variable_value(0)
     391.7976931348623157e+308  ### BAD
     40}}}
     41
     42