colpack_prefix
If Colpack is installed on your system, you can
specify a value for its install
colpack_prefix
on the
cmake
command line.
The value of
colpack_prefix
must be such that,
for one of the directories
dir
in
cmake_install_includedirs
,
colpack_prefix/dir/ColPack/ColPackHeaders.h
is a valid way to reference to the include file ColPackHeaders.h.
cppad_lib
The Colpack header files has a
using namespace std
at the global level.
For this reason, CppAD does not include these files.
It is therefore necessary to link the object library cppad_lib
when using Colpack.
Example
The file colpack_jac.cpp
(colpack_hes.cpp
)
contains an example and test of using Colpack to compute the coloring for
sparse Jacobians (Hessians).
get_colpack
If you are using Unix, you can download and install
a copy of Colpack using get_colpack.sh
.
The corresponding
colpack_prefix
would be
build/prefix.
Input File: omh/install/colpack_prefix.omh