[Coin-discuss] CoinPackedMatrix fails on matrix with no non-zeros

John J Forrest jjforre at us.ibm.com
Tue Mar 27 11:08:36 EDT 2007


made approximatelt those fixes (made more common case first as it is
marginally faster on most compilers)


                                                                           
             "Kim Hansen"                                                  
             <kimhanse at gmail.c                                             
             om>                                                        To 
             Sent by:                  "COIN discussion (and bugs)"        
             coin-discuss-boun         <coin-discuss at list.coin-or.org>     
             ces at list.coin-or.                                          cc 
             org                                                           
                                                                   Subject 
                                       [Coin-discuss] CoinPackedMatrix     
             03/26/07 05:54 AM         fails on matrix with no non-zeros   
                                                                           
                                                                           
             Please respond to                                             
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           




Hi,

I got some strange errors when running an extremely simple problem, I
found out that the reason was that CoinPackedMatrix had problems when
it was asked to make a matrix with no non-zeros.

I have attached a patch.

--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437  --  Mobil: 3091 2437
[attachment "empty_matrix.patch" deleted by John J Forrest/Watson/IBM]
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss






More information about the Coin-discuss mailing list