[Coin-discuss] Osi unitTest core dumps / AMPL driver

JP Fasano jpfasano at us.ibm.com
Mon Feb 24 22:24:49 EST 2003




I just grabbed the latest code from cvs, built, and ran
COIN\Osi\Test\unitTest.cpp.
It is running ok for myself.
What platform are you running on?
I did this test on windows using MS compiler.

Here is the output:
--------------------------
Testing OsiRowCut with OsiClpSolverInterface
Testing OsiColCut with OsiClpSolverInterface
Testing OsiRowCutDebugger with OsiClpSolverInterface
Testing OsiSimplexInterface with OsiClpSolverInterface
Testing OsiCuts
Testing OsiClpSolverInterface
Testing OsiSolverInterface
  processing mps file: 25fv47 (1 out of 90)
clpSolverInterface 5501.85 = 5501.85 ; okay - took 10.595 seconds.
  processing mps file: 80bau3b (2 out of 90)
clpSolverInterface 987224 = 987224 ; okay - took 8.293 seconds.
  processing mps file: adlittle (3 out of 90)
clpSolverInterface 225495 = 225495 ; okay - took 0.08 seconds.
  processing mps file: afiro (4 out of 90)
clpSolverInterface -464.753 = -464.753 ; okay - took 0.04 seconds.
  processing mps file: agg (5 out of 90)
clpSolverInterface -3.59918e+007 = -3.59918e+007 ; okay - took 0.211
seconds.
  processing mps file: agg2 (6 out of 90)
clpSolverInterface -2.02393e+007 = -2.02393e+007 ; okay - took 0.28
seconds.
  processing mps file: agg3 (7 out of 90)
clpSolverInterface 1.03121e+007 = 1.03121e+007 ; okay - took 0.31 seconds.
  processing mps file: bandm (8 out of 90)
clpSolverInterface -158.628 = -158.628 ; okay - took 0.471 seconds.
  processing mps file: beaconfd (9 out of 90)
clpSolverInterface 33592.5 = 33592.5 ; okay - took 0.12 seconds.
  processing mps file: blend (10 out of 90)
clpSolverInterface -30.8121 = -30.8121 ; okay - took 0.081 seconds.
  processing mps file: bnl1 (11 out of 90)
clpSolverInterface 1977.63 = 1977.63 ; okay - took 1.732 seconds.
  processing mps file: bnl2 (12 out of 90)
clpSolverInterface 1811.24 = 1811.24 ; okay - took 2.884 seconds.
  processing mps file: boeing1 (13 out of 90)
clpSolverInterface -335.214 = -335.214 ; okay - took 0.621 seconds.
  processing mps file: boeing2 (14 out of 90)
clpSolverInterface -315.019 = -315.019 ; okay - took 0.131 seconds.
  processing mps file: bore3d (15 out of 90)
clpSolverInterface 1373.08 = 1373.08 ; okay - took 0.12 seconds.
  processing mps file: brandy (16 out of 90)
clpSolverInterface 1518.51 = 1518.51 ; okay - took 0.31 seconds.
  processing mps file: capri (17 out of 90)
clpSolverInterface 2690.01 = 2690.01 ; okay - took 0.24 seconds.
  processing mps file: cycle (18 out of 90)
clpSolverInterface -5.22639 = -5.22639 ; okay - took 1.583 seconds.
  processing mps file: czprob (19 out of 90)
clpSolverInterface 2.1852e+006 = 2.1852e+006 ; okay - took 1.292 seconds.
  processing mps file: d2q06c (20 out of 90)
....


JP Fasano
jpfasano at us.ibm.com
(914)945-1324  (tie line 862-1324)
COIN www.coin-or.org


|---------+------------------------------------------------>
|         |           Leonardo B Lopes                     |
|         |           <leo at iems.northwestern.edu>          |
|         |           Sent by:                             |
|         |           coin-discuss-admin at www-124.southbury.|
|         |           usf.ibm.com                          |
|         |                                                |
|         |                                                |
|         |           02/24/2003 08:57 PM                  |
|         |           Please respond to coin-discuss       |
|         |                                                |
|---------+------------------------------------------------>
  >----------------------------------------------------------------------------------------------|
  |                                                                                              |
  |       To:       coin-discuss at www-124.southbury.usf.ibm.com                                   |
  |       cc:                                                                                    |
  |       Subject:  [Coin-discuss] Osi unitTest core dumps / AMPL driver                         |
  |                                                                                              |
  >----------------------------------------------------------------------------------------------|




I just downloaded Osi, Clp, Cgl, and Sbb (2/24 ~ 18:30CT). Did my best
to follow the instructions, but Osi unitTest aborts with a core dump at
OsiRowCutTest.cpp:246.

Here is the program output:

-----------------------------------------------------------
[leo at senna Osi]$ ./unitTest
Testing OsiRowCut with OsiClpSolverInterface
Coin0001I At line 29 NAME          EXAMPLE
Coin0001I At line 30 ROWS
Coin0001I At line 37 COLUMNS
Coin0001I At line 55 RHS
Coin0001I At line 61 RANGES
Coin0001I At line 64 BOUNDS
Coin0001I At line 70 ENDATA
Coin0002I Problem EXAMPLE has 5 rows, 8 columns and 14 elements
Coin0008I EXAMPLE read with 0 errors
Aborted (core dumped)
-----------------------------------------------------------

and here is the section of Makefile.location I changed:

-----------------------------------------------------------
CoinDir ?= ${HOME}/devel/fml/COIN

CoinLibsDefined :=

CoinLibsDefined += COIN_libCoin
CoinLibsDefined += COIN_libOsi
CoinLibsDefined += COIN_libCgl

# CoinLibsDefined += COIN_libVol
# CoinLibsDefined += COIN_libOsiVol

CoinLibsDefined += COIN_libClp
CoinLibsDefined += COIN_libOsiClp

CoinLibsDefined += COIN_libSbb

# CoinLibsDefined += COIN_libCpx
# CoinLibsDefined += COIN_libOsiCpx
-----------------------------------------------------------

Any help would be much appreciated. There was a question earlier about
an AMPL driver. At the end of my current project a simple AMPL driver
should be available.

Cheers,
Leo.
--
=======================================================================
Leonardo B. Lopes                                      leo at iems.nwu.edu
Ph.D. Candidate                                           (847)491-8470
IEMS - Northwestern University             http://www.iems.nwu.edu/~leo

_______________________________________________
Coin-discuss mailing list
Coin-discuss at www-124.ibm.com
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss






More information about the Coin-discuss mailing list