[Coin-discuss] CoinBuild / CoinPackedMatrix

John J Forrest jjforre at us.ibm.com
Sun Apr 8 04:45:16 EDT 2007


Matt,

CoinModel is definitely what you want.  You could just use some dummy stuff
for bounds etc and then use the standard Osi or Clp CoinModel calls.

CoinModel can have names  as elements e.g. 2.1*C00001.  If it has then
C00001 would have been associated with a value and that is the array you
would pass - modelObject.associatedArray() see.line 654 in
OsiSolverInterface.cpp.

Sorry I can't help more - but I think I am going to be mostly off-line for
a few weeks.

John


                                                                           
             Matthew Galati                                                
             <magh at lehigh.edu>                                             
             Sent by:                                                   To 
             coin-discuss-boun         Lou Hafer <lou at cs.sfu.ca>,          
             ces at list.coin-or.         Discussions about open source       
             org                       software for Operations Research    
                                       <coin-discuss at list.coin-or.org>     
                                                                        cc 
             05.04.2007 13:08                                              
                                                                   Subject 
                                       Re: [Coin-discuss] CoinBuild /      
             Please respond to         CoinPackedMatrix                    
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           





>> What is the 2nd arg of createPackedMatrix for? What am I suppose to pass
in
>> for "associated".
>>
>
>            Someone else is going to have to help with this question.  I
haven't
> actually used CoinModel, so can't give a solid answer.
>
       Lou
>

No info in comments, and createPackedMatrix is not in unitTest. There is
an "associatedArray( )" access method, but if that was correct,
createdPackedMatrix could just access it directly from within the object
- so I am not sure what the argument is for.

_______________________________________________
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