Changeset 3793 for trunk/test_more


Ignore:
Timestamp:
Feb 29, 2016 1:18:32 PM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 001743ad36561e8047c36cff04f6ba6c53c107cb
end hash code: 833d34533ed5aa34a589f0b17ffd5d8f7fa79e6c

commit 833d34533ed5aa34a589f0b17ffd5d8f7fa79e6c
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 11:09:41 2016 -0700

whats_new_16.omh: comments for meging sparse branch.

commit 568b9233843de4c66370f497fda890a268c3db71
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 08:46:07 2016 -0700

Advance version to 20160229.

commit cf120d3613f0c34c17291d6f780623d1c9275817
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 08:39:04 2016 -0700

sparse branch:
hes_sparsity.cpp: test ForSparseHes? on all cases it can handle.

commit 454e63520c5faa699fec138e530147a08d4fbf66
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 08:23:04 2016 -0700

sparse branch:
hes_sparsity.cpp: user routine to check bool, set, forward, reverse.

commit e3a431f3b2a4b825a471cd64101a61920d8506dc
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 07:47:50 2016 -0700

sparse branch:
hes_sparsity.cpp: Reduce code using routines for forward sparse Jacobian calculation.

commit dc028132d953c720db4d2049bf0f97c8200e0b7f
Author: Brad Bell <bradbell@…>
Date: Mon Feb 29 07:18:34 2016 -0700

sparse branch:
hes_sparsity.cpp: include ForSparseHes? to case_one test.

commit 0616c4c8a41124779578817c0cfa69c1946bb027
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 20:04:50 2016 -0700

sparse branch:
Move test_more/rev_sparse_hes.cpp -> test_more/hes_sparsity.cpp
(prepare for also testing ForSparseHes? with these cases).

commit 6f5283c706ecc6bf17040fb70a93a898c09d408d
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 14:11:04 2016 -0700

sparse branch:
Test user atomic functions with for_sparse_hes.
sparsity.cpp: fix mistake in rev_sparse_hes.cpp
atomic_base.hpp: put for_sparse_hes before rev_spares_hes, fix parameter name.

commit f7782a41eac5715399d017863b00afd265a867b8
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 08:54:40 2016 -0700

sparse branch:
Add code (not yet tested) for for_sparse_hes with atomic functions.

commit fcfeecf4ea23c147267749471725573a2f7fba28
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 06:50:42 2016 -0700

sparse branch:
Use a separate local forward jacobian sparsity structure for for_sparse_hes.

commit 79fea014f5d74f145bd84fa36f4f37b0e4350c73
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 06:33:24 2016 -0700

sparse branch:
Finish forward sparse hessian all operators but the user atomics.

commit 8d9706d82c7500c48028872aaf9ef796b8f46fbb
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 06:02:45 2016 -0700

sparse branch:
Implement and test VecAD and pow operations.

commit ab4f6a764aadc32b7240e8167373d637374cdf14
Author: Brad Bell <bradbell@…>
Date: Sun Feb 28 05:09:29 2016 -0700

sparse branch:
for_hes_sweep.hpp: implement some more operators.
load_op.hpp: fix a typo in doxygen documentation.
rev_hes_sweep.hpp: fix a comment.
for_sparse_hes.cpp: test some more cases (need to test load ops).

commit a0c903088992f5218651a64f2ab258ee044b0868
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 19:02:23 2016 -0700

sparse branch:
for_sparse_hes.cpp: include variable / variable operator.

commit 15f1ee1a965c49670816d4a4f0b1632f96b56063
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 17:28:40 2016 -0700

sparse branch:
Start a test for each operator (will implement one by one).
for_sparse_hes.cpp: begin with MulvvOp? (already implemented).

commit de6927c0f9ec760a669f1e4e600988e7194aa207
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 16:39:02 2016 -0700

sparse branch:
Run all the cases in the example/test and turn off the tracing.

commit 747f3a6d2deb2269280284edc0ec594686b11a39
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 16:13:15 2016 -0700

sparse branch:
First version of ForSparseHes? that passes a test (only two operators implemented).

commit 344add6858a0ddbe4fc2db712f84ceec749fd423
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 11:33:12 2016 -0700

sparse branch:
Add tracing of for_sparse_jac and for_sparse_hes values.

commit bffab572848831be17dfde13d2455f18e779a37d
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 11:11:24 2016 -0700

sparse branch:
Change for_sparse_hes to use diagonal matrix to select which independent variables.

commit ab94dba08a38c85dc2a57e0dbda83d9d7d0130ae
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 08:26:54 2016 -0700

sparse branch: (merge into master even if abort)

  1. Remove referecnes to old sparse_set class which has been deleted.
  2. Some updates to the auto-tools testing and install.

commit ceca9457a75282222af33640f375e0ba61a5814c
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 06:57:00 2016 -0700

sparse branch:
Use a forward (not reverse) pass and skip operators that have no effect.

commit 7991ea5b384b595cdc84dda02ffdc33fd5708805
Author: Brad Bell <bradbell@…>
Date: Sat Feb 27 05:58:36 2016 -0700

sparse branch:
for_hes_sweep.hpp: ifdef out out setting values for now.
example.cpp: ifdef out call for_sparse (until test passes).
for_sparse_hes.cpp: reduce number calls to for_hes_sweep to 1 (for now).

commit 620a3d684ae3e267980f1a283c8a2a09176168b2
Author: Brad Bell <bradbell@…>
Date: Fri Feb 26 12:52:37 2016 -0700

sparse branch:
change row dimension of for_hes_sparse.
rev_hes_sweep.hpp: minor white space edit.
CMakeLists.txt: include for_sparse_hes.cpp example/test.

commit 065eb55bbe45eb231a9cfad1a12ef826e45f26cc
Author: Brad Bell <bradbell@…>
Date: Fri Feb 26 09:52:29 2016 -0700

sparse branch:
Forward mode Hessian sparsity calculation (under construction).

commit a088bf586d9c4a940fa14daa6c78d1218775b671
Author: Brad Bell <bradbell@…>
Date: Fri Feb 26 08:37:08 2016 -0700

sparse branch:
Forward mode Hessian sparsity algorithm (under construction).

Location:
trunk/test_more
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/CMakeLists.txt

    r3791 r3793  
    9999        extern_value.cpp
    100100        for_hess.cpp
     101        for_sparse_hes.cpp
    101102        for_sparse_jac.cpp
    102103        forward.cpp
     
    105106        from_base.cpp
    106107        fun_check.cpp
     108        hes_sparsity.cpp
    107109        jacobian.cpp
    108110        num_limits.cpp
     
    131133        runge_45.cpp
    132134        reverse.cpp
    133         rev_sparse_hes.cpp
    134135        rev_sparse_jac.cpp
    135136        rev_two.cpp
  • trunk/test_more/makefile.am

    r3769 r3793  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    125125        extern_value.hpp \
    126126        for_hess.cpp \
     127        for_sparse_hes.cpp \
    127128        for_sparse_jac.cpp \
    128129        forward.cpp \
     
    131132        from_base.cpp \
    132133        fun_check.cpp \
     134        hes_sparsity.cpp \
    133135        jacobian.cpp \
    134136        num_limits.cpp \
     
    163165        runge_45.cpp \
    164166        reverse.cpp \
    165         rev_sparse_hes.cpp \
    166167        rev_sparse_jac.cpp \
    167168        rev_two.cpp \
  • trunk/test_more/makefile.in

    r3769 r3793  
    386386cppad_has_nullptr = @cppad_has_nullptr@
    387387cppad_has_rvalue = @cppad_has_rvalue@
    388 cppad_internal_sparse_set = @cppad_internal_sparse_set@
    389388cppad_max_num_threads = @cppad_max_num_threads@
    390389cppad_pkgconfig_cflags = @cppad_pkgconfig_cflags@
  • trunk/test_more/test_more.cpp

    r3791 r3793  
    5454extern bool expm1(void);
    5555extern bool ForHess(void);
     56extern bool for_sparse_hes(void);
    5657extern bool for_sparse_jac(void);
    5758extern bool Forward(void);
     
    6061extern bool FromBase(void);
    6162extern bool FunCheck(void);
     63extern bool hes_sparsity(void);
    6264extern bool ipopt_solve(void);
    6365extern bool jacobian(void);
     
    8991extern bool print_for(void);
    9092extern bool reverse(void);
    91 extern bool rev_sparse_hes(void);
    9293extern bool rev_sparse_jac(void);
    9394extern bool RevTwo(void);
     
    185186        ok &= Run( expm1,           "expm1"          );
    186187        ok &= Run( ForHess,         "ForHess"        );
     188        ok &= Run( for_sparse_hes,  "for_sparse_hes" );
    187189        ok &= Run( for_sparse_jac,  "for_sparse_jac" );
    188190        ok &= Run( Forward,         "Forward"        );
     
    191193        ok &= Run( FromBase,        "FromBase"       );
    192194        ok &= Run( FunCheck,        "FunCheck"       );
     195        ok &= Run( hes_sparsity,    "hes_sparsity"   );
    193196        ok &= Run( jacobian,        "jacobian"       );
    194197        ok &= Run( log,             "log"            );
     
    219222        ok &= Run( print_for,       "print_for"      );
    220223        ok &= Run( reverse,         "reverse"        );
    221         ok &= Run( rev_sparse_hes,  "rev_sparse_hes" );
    222224        ok &= Run( rev_sparse_jac,  "rev_sparse_jac" );
    223225        ok &= Run( RevTwo,          "RevTwo"         );
Note: See TracChangeset for help on using the changeset viewer.