Changeset 11 for trunk/Couenne/test


Ignore:
Timestamp:
Nov 3, 2008 10:35:09 PM (13 years ago)
Author:
pbelotti
Message:

removed old data files for check, updated INSTALL file. Added new check option/mode

Location:
trunk/Couenne/test
Files:
18 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/test/couenne.opt.base

    r1 r11  
     1time_limit 20
     2node_limit 1000
  • trunk/Couenne/test/grandTest.sh.in

    r1 r11  
    1616    echo " " Testing $method
    1717
     18    cat $srcdir/../test/couenne.opt.base $i  > couenne.opt
     19    echo -n "couenne_check "                >> couenne.opt
     20    cat $srcdir/../test/data/$name.obj      >> couenne.opt
     21
    1822    for j in $srcdir/../test/data/*.nl
    19 
    2023    do
    21         cat $srcdir/../test/couenne.opt.base $i > couenne.opt
    22 
    23         result=`../src/main/couenne $j | grep Stats | awk '{printf ("%20e\n", $21);}'`
    24         name=`basename $j .nl`
    25         val=`cat $srcdir/../test/data/$name.obj`
    26    
    27         rm couenne.opt
    28 
    29         [ $result == $val ] && printf "    Test for %-20s on %-20s OK\n" $method $name
    30         [ $result == $val ] || (printf "    Test for %-20s on %-20s FAILED: %s != %s\n" \
    31                                  $method $name $result $val && success=0)
     24        ../src/main/couenne $j
    3225    done
    3326 
     27    rm couenne.opt
    3428    echo
    3529
Note: See TracChangeset for help on using the changeset viewer.