[Coin-discuss] Cbc ampl interface under OS/X Tiger

Kipp Martin kipp.martin at chicagogsb.edu
Mon Dec 3 17:16:54 EST 2007


Hi:

I don't think the Cbc/ASL problem is a Mac OS X only problem.  I am running

https://projects.coin-or.org/svn/Cbc/stable/2.0/Cbc
https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk

using Cywin/gcc

and getting an

undefined reference to _sys_Details

My colleague Jun Ma is getting the same error with Mingw/gcc

I think there may be a Cbc/ASL problem.

Regards,



> I am trying to connect cbc to the ampl student edition on os/x. I
> followed the instructions from the COIN-OR page
> (https://projects.coin-or.org/Cbc/wiki/FAQ), shown below:
> 
> 
> First get Cbc: svn co https://projects.coin-or.org/svn/Cbc/trunk cbc
> 
> Get the AMPL ASL library. There is a script with the distribution that
> makes setting up the ASL very convenient: cd cbc/ThirdParty/ASL
> ./get.ASL
> 
> Run configure from the root directory of the source distribution (src
> in this case) and build cbc. cd ../..
> ./configure
> make
> make install
> 
> All this worked. I then typed in a small test mod file:
> 
> var blue;
> var gold;
> 
> maximize profit: 10*blue + 15*gold;
> subject to time: blue/40 + gold/30 <= 40;
> subject to max_blue: 0 <= blue <= 1000;
> subject to max_gold: 0 <= gold <= 860;
> 
> I then tried to run from ampl, with the following:
> 
> ampl
> ampl: model ex1.mod;
> ampl: option solver cbc;
> ampl: solve;
> dyld: Symbol not found: _WS_val_ASL
>   Referenced from: /Users/gardnerpomper/cbc/lib/libCbcSolver.0.dylib
>   Expected in: flat namespace
> 
> error running cbc:
>         termination code 5
> <BREAK>
> 
> I did the exact same process under linux, and it worked. Can someone
> give me a hint as to what I need to do differently for OS/X ?
> 
> Thanks,
> 
> - Gardner Pomper
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss


-- 
Kipp Martin
Professor of Operations Research
and Computing Technology
Graduate School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kipp.martin at chicagogsb.edu
http://gsbkip.chicagogsb.edu
http://www.coin-or.org



More information about the Coin-discuss mailing list