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).
It returns true, if it succeeds and false otherwise.
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