Changeset 2896


Ignore:
Timestamp:
Sep 17, 2013 5:23:55 PM (6 years ago)
Author:
bradbell
Message:

Use new "sb" (skip banner) Ipopt option.

jenkins.sh: minor cleanup and specialization to jenkins system.
solve.hpp: Fix documentation of Integer option.

Location:
trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/jenkins.sh

    r2891 r2896  
    8181#
    8282# configure cppad to use all the packages above
    83 if rpm --eval %{_host} > /dev/null
    84 then
    85         build_type=`rpm --eval %{_host}`
    86         build_type="--build=$build_type"
    87 fi
    8883build_type=`rpm --eval %{_host}`
    89 build_type="--build=$build_type"
    9084#
    9185# skip sacado for now
     
    9488cat << EOF
    9589$trunk_dir/configure \\
    96         $build_type \\
     90        --build=$build_type \\
    9791        EIGEN_DIR="$trunk_dir/build/prefix" \\
    9892        IPOPT_DIR="$trunk_dir/build/prefix" \\
     
    10094EOF
    10195if ! $trunk_dir/configure \
    102         $build_type \
     96        --build=$build_type \
    10397        EIGEN_DIR="$trunk_dir/build/prefix" \
    10498        IPOPT_DIR="$trunk_dir/build/prefix" \
  • trunk/cppad/ipopt/solve.hpp

    r2738 r2896  
    170170You can set any Ipopt integer option using a line with the following syntax:
    171171$codei%
    172         Numeric %name% %value%
     172        Integer %name% %value%
    173173%$$
    174174Here $icode name$$ is any valid Ipopt integer option
  • trunk/cppad_ipopt/example/get_started.cpp

    r2683 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    141141                // turn off any printing
    142142                app->Options()->SetIntegerValue("print_level", 0);
     143                app->Options()->SetStringValue("sb", "yes");
    143144
    144145                // maximum number of iterations
  • trunk/cppad_ipopt/example/ode_run.hpp

    r2683 r2896  
    33# define CPPAD_ODE_RUN_INCLUDED
    44/* --------------------------------------------------------------------------
    5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    66
    77CppAD is distributed under multiple licenses. This distribution is under
     
    9191        // turn off any printing
    9292        app->Options()->SetIntegerValue("print_level", 0);
     93        app->Options()->SetStringValue("sb", "yes");
    9394
    9495        // maximum number of iterations
  • trunk/cppad_ipopt/test/k_gt_one.cpp

    r2506 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    142142                // turn off any printing
    143143                app->Options()->SetIntegerValue("print_level", 0);
     144                app->Options()->SetStringValue("sb", "yes");
    144145
    145146                // maximum number of iterations
  • trunk/cppad_ipopt/test/multiple_solution.cpp

    r2506 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    129129        // turn off any printing
    130130        app->Options()->SetIntegerValue("print_level", 0);
     131        app->Options()->SetStringValue("sb", "yes");
    131132
    132133        // approximate accuracy in first order necessary conditions;
  • trunk/cppad_ipopt/test/retape_k1_l1.cpp

    r2506 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    8282        // turn off any printing
    8383        app->Options()->SetIntegerValue("print_level", 0);
     84        app->Options()->SetStringValue("sb", "yes");
    8485
    8586        // maximum number of iterations
  • trunk/cppad_ipopt/test/retape_k1_l2.cpp

    r2506 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    9797        // turn off any printing
    9898        app->Options()->SetIntegerValue("print_level", 0);
     99        app->Options()->SetStringValue("sb", "yes");
    99100
    100101        // maximum number of iterations
  • trunk/example/ipopt_solve/get_started.cpp

    r2689 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    114114        // turn off any printing
    115115        options += "Integer print_level  0\n";
     116        options += "String  sb           yes\n";
    116117        // maximum number of iterations
    117118        options += "Integer max_iter     10\n";
  • trunk/example/ipopt_solve/ode_inverse.cpp

    r2689 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    304304        // turn off any printing
    305305        options += "Integer print_level 0\n";
     306        options += "String  sb        yes\n";
    306307        // maximum number of iterations
    307308        options += "Integer max_iter    30\n";
  • trunk/example/ipopt_solve/retape.cpp

    r2689 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    8787        // turn off any printing
    8888        options += "Integer print_level   0\n";
     89        options += "String  sb          yes\n";
    8990        // maximum number of iterations
    9091        options += "Integer max_iter      10\n";
  • trunk/omh/whats_new/whats_new_13.omh

    r2894 r2896  
    1414$dollar @$$
    1515$spell
     16        sb
     17        IpIpoptAlg.cpp
    1618        inf
    1719        const
     
    5052assist you in learning about changes between various versions of CppAD.
    5153
     54$head 09-17$$
     55$list number$$
     56It appears, from inspecting the Ipopt source file
     57$code Ipopt/src/Algorithm/IpIpoptAlg.cpp$$ that the option $code sb$$
     58to $code yes$$ suppress the printing of the Ipopt banner.
     59The Ipopt examples and tests have been changed to use this option
     60(although it is not in the ipopt documentation).
     61$lnext
     62Fix the a typo in the documentation for $code ipopt_solve$$
     63$cref/Integer/ipopt_solve/options/Integer/$$ options
     64($code Numeric$$ was changed to $code Integer$$).
     65$lend
     66
    5267$head 09-07$$
    5368There was a bug in the cumulative sum operator
  • trunk/test_more/ipopt_solve.cpp

    r2689 r2896  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    7777        // turn off any printing
    7878        base_options += "Integer print_level  0\n";
     79        base_options += "String  sb         yes\n";
    7980        // maximum number of iterations
    8081        base_options += "Integer max_iter     10\n";
Note: See TracChangeset for help on using the changeset viewer.