[Cbc] compiled cbc for ampl (ASL)

shlomo bauer shlomobauer at gmail.com
Thu Jul 30 11:51:14 EDT 2009


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