[Coin-discuss] Building CBC with MathProg support?

John J Forrest jjforre at us.ibm.com
Tue Aug 7 04:56:17 EDT 2007


Sebastian,

gmpl interface does work with standalone cbc.  I tried cbc
cbc-bug-mathprog.mod% and it worked OK.

John


                                                                           
             John J                                                        
             Forrest/Watson/IB                                             
             M at IBMUS                                                    To 
             Sent by:                  Discussions about open source       
             coin-discuss-boun         software for Operations Research    
             ces at list.coin-or.         <coin-discuss at list.coin-or.org>     
             org                                                        cc 
                                                                           
                                                                   Subject 
             08/06/2007 12:15          Re: [Coin-discuss] Building CBC     
             PM                        with MathProg support?              
                                                                           
                                                                           
             Please respond to                                             
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           




Sebastian,

Not tested for some time but syntax was model file followed by % followed
by optional data file.  When I tried just now it gave syntax error in data
section.  Called as cbc cbc-bug.mod%

So it gets into gmpl.

If I have time I may be able to look at it.

John Forrest



             Sebastian Nowozin
             <nowozin at gmail.co
             m>                                                         To
             Sent by:                  Stefan Vigerske
             coin-discuss-boun         <stefan at math.hu-berlin.de>,
             ces at list.coin-or.         Discussions about open source
             org                       software for Operations Research
                                       <coin-discuss at list.coin-or.org>
                                                                        cc
             08/06/2007 11:55
             AM                                                    Subject
                                       Re: [Coin-discuss] Building CBC
                                       with MathProg support?
             Please respond to
             Discussions about
                open source
               software for
                Operations
                 Research
             <coin-discuss at lis
              t.coin-or.org>







Hello Stefan,

thanks for the hint.  It now compiles with GLPK support.  However, I do
not know how to read and solve a MathProg model using cbc.  The import
function only reads MPS files.

How to make CBC read in a .mod file?

Thanks,
Sebastian

Stefan Vigerske wrote:

> Please checkout also
> https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
> into the directory ThirdParty/Glpk.
> Maybe this external is not set in Cbc (yet).
> Then you will find there a script that downloads Glpk. Rerunning
> configure should then find Glpk and Gmpl.
>
> Stefan
>

_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss


_______________________________________________
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