[Cbc] compiled cbc for ampl (ASL)

Victor M Zavala vzavala at mcs.anl.gov
Thu Jul 30 12:04:48 EDT 2009


I had the same problem as shlomo,

The trunk version of cbc does not return the optimal values to AMPL.
The same happens with the binaries. 
The previous version 2.2 works well.

Seems to be an issue in the ampl interface.... 

Victor M. Zavala
Postdoctoral Researcher
Mathematics and Computer Science Division
Argonne National Laboratory
9700 S Cass Ave, Bldg 221, Argonne, IL 60439
E-mail: vzavala at mcs.anl.gov
Website: http://www.mcs.anl.gov/~vzavala/


----- cbc-request at list.coin-or.org wrote:

> Send Cbc mailing list submissions to
> 	cbc at list.coin-or.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://list.coin-or.org/mailman/listinfo/cbc
> or, via email, send a message with subject or body 'help' to
> 	cbc-request at list.coin-or.org
> 
> You can reach the person managing the list at
> 	cbc-owner at list.coin-or.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cbc digest..."
> 
> 
> Today's Topics:
> 
>    1. Different Results 32bit and 64bit compiles of CBC/CLP
>       (Christoph Cullmann)
>    2. compiled cbc for ampl (ASL) (shlomo bauer)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 30 Jul 2009 10:21:58 +0200
> From: Christoph Cullmann <cullmann at absint.de>
> Subject: [Cbc] Different Results 32bit and 64bit compiles of CBC/CLP
> To: cbc at list.coin-or.org
> Message-ID: <4A715826.6090305 at absint.de>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> with the attached ILP, I get different Results on 32bit and 64bit
> compiles on Linux, even presolving already differs.
> CBC version 2.3, updated 1-2 weeks ago.
> (Compiler is GCC, 4.3, -O1)
> 
> 64bit:
> 
> clpsolve: Progress: [10:16:40]: Coin0506I Presolve 1 (-75) rows, 2
> (-102) columns and 2 (-228) elements
> 
> clpsolve: Progress: [10:16:40]: Clp0006I 0 Obj -3.67132e+12 Primal
> inf
> 0.0999999 (1) Dual inf 3.635e+08 (1)
> 
> clpsolve: Progress: [10:16:40]: Clp0006I 2 Obj -3.67135e+12
> 
> clpsolve: Progress: [10:16:40]: Clp0000I Optimal - objective value
> -3.67135e+12
> 
> clpsolve: Progress: [10:16:40]: Coin0511I After Postsolve, objective
> -3.67135e+12, infeasibilities - dual 0 (0), primal 0 (0)
> 
> clpsolve: Progress: [10:16:40]: Clp0032I Optimal objective
> -3.671353404e+12 - 2 iterations time 0.002, Presolve 0.00
> 
> clpsolve: Note: value of objective function: 3671353403594
> 
> 
> 32bit:
> 
> clpsolve: Progress: [10:16:46]: Coin0506I Presolve 2 (-74) rows, 4
> (-100) columns and 6 (-224) elements
> 
> clpsolve: Progress: [10:16:46]: Clp0006I 0 Obj -3.635e+12 Primal inf
> 11
> (2) Dual inf 2.41393e+10 (4)
> 
> clpsolve: Progress: [10:16:46]: Clp0006I 2 Obj -3.67135e+12
> 
> clpsolve: Progress: [10:16:46]: Clp0000I Optimal - objective value
> -3.67135e+12
> 
> clpsolve: Progress: [10:16:46]: Coin0511I After Postsolve, objective
> -3.67135e+12, infeasibilities - dual -6.00517e-06 (2), primal 0 (0)
> 
> clpsolve: Progress: [10:16:46]: Coin0512I Presolved model was
> optimal,
> full model needs cleaning up
> 
> clpsolve: Progress: [10:16:46]: Clp0006I 0 Obj -3.67135e+12
> 
> This message was repeated once.
> 
> clpsolve: Progress: [10:16:46]: Clp0000I Optimal - objective value
> -3.67135e+12
> 
> clpsolve: Progress: [10:16:46]: Clp0032I Optimal objective
> -3.671353404e+12 - 2 iterations time 0.002, Presolve -0.00
> 
> clpsolve: Progress: [10:16:46]: Coin0506I Presolve 0 (-76) rows, 0
> (-104) columns and 0 (-230) elements
> 
> clpsolve: Note: value of objective function: 3671353403355
> 
> 
> Greetings
> Christoph
> 
> -- 
> -------------------------------------- Christoph Cullmann ---------
> AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
> Science Park 1                         Tel:   +49-681-38360-22
> 66123 Saarbr?cken                      Fax:   +49-681-38360-20
> GERMANY                                WWW:   http://www.AbsInt.com
> --------------------------------------------------------------------
> Gesch?ftsf?hrung: Dr.-Ing. Christian Ferdinand
> Eingetragen im Handelsregister des Amtsgerichts Saarbr?cken, HRB
> 11234
> 
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: 32.lp
> Url:
> http://list.coin-or.org/pipermail/cbc/attachments/20090730/d8739f15/attachment.ksh
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 30 Jul 2009 18:51:14 +0300
> From: shlomo bauer <shlomobauer at gmail.com>
> Subject: [Cbc] compiled cbc for ampl (ASL)
> To: cbc at list.coin-or.org
> Message-ID:
> 	<f538f3fa0907300851j46b201bfuc02c980f545d6e47 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 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
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
> 
> 
> End of Cbc Digest, Vol 27, Issue 6
> **********************************



More information about the Cbc mailing list