[Cbc] Compiled cbc for ampl (ASL)
shlomo bauer
shlomobauer at gmail.com
Sun Aug 2 04:56:46 EDT 2009
Hi,
I have yet to get cbc to work with ampl.
I am using the student version -- as reported by the -v option:
ampl -v
AMPL Student Version 20090611 (MS VC++ 6.0)
it works with lpsolve and other solvers.
Cbc on the other hand doesn't appear to work ampl.
I've compiled it with the ASL option --
any ideas?
Cbc appears to work ok with mps files.
Shlomo
On Thu, Jul 30, 2009 at 6:51 PM, shlomo bauer<shlomobauer at gmail.com> wrote:
> Hi,
>
> I compiled cbc for ampl (ASL). But when I run simple models, even the
> classic diet1, the solver doesn't give
> any results. in the case of the diet1 problem, I get:
>
> ampl: option solver cbc;
> ampl: model diet1.mod
> ampl: data diet1.dat
> ampl: solve;
> Cbc 1.04:
> Objective = Total_Cost
>
> ampl: display Total_Cost;
> Total_Cost = 0
>
> ampl: display Buy;
> Buy [*] :=
> 'Quarter Pounder w/ Cheese' 0
> 'McLean Deluxe w/ Cheese' 0
> 'Big Mac' 0
> Filet-O-Fish 0
> 'McGrilled Chicken' 0
> 'Fries, small' 0
> 'Sausage McMuffin' 0
> '1% Lowfat Milk' 0
> 'Orange Juice' 0
> ;
>
> ampl: quit
>
> Any ideas?
>
> thanks
> Shlomo
>
More information about the Cbc
mailing list