[Clp] Input formats for clp binary

André Scholz andre.scholz at uni-bremen.de
Mon Nov 14 06:18:22 EST 2011


Hello,

i compiled cbc and clp on debian wheezy and using the file test.lp containing

   max: 0 ;
    x1 - x2 < 0 ;
   -x1 + x2 < 0 ;

i get the results:

   me at machine> ./clp test.lp
   Coin LP version 1.14.4, build Nov 14 2011
   command line - ./clp test.lp 
   terminate called after throwing an instance of 'char const*'

and

   me at machine> ./cbc test.lp 
   Welcome to the CBC MILP Solver 
   Version: 2.7.5 
   Build Date: Nov 14 2011 

   command line - ./cbc test.lp (default strategy 1)
   terminate called after throwing an instance of 'char const*'

What am i doing wrong?

Kind regards,
André



On 10.11.2011 at 15:04 Stefan Vigerske wrote:
> Hi,
> 
> > is it possible to use the clp or cbc binary on a lp-format file with
> > lp_solve syntax. Or does it accept another more algebraical format than
> > mps?
> 
> .lp should work.
> 
> If Clp/Cbc is build with Glpk, then also GMPL should work.
> 
> If Clp/Cbc is build with ASL, then also AMPL's .nl files should work.
> 
> Stefan





More information about the Clp mailing list