|
Prev | Next | WishList |
BenderQuad specifications.
cppad_ipopt_nlp
with the simple representation
.
retape(k)
is true for some
k
,
one can still use the structure of the representation to compute a
sparsity structure. Currently cppad_ipopt_nlp uses a dense
sparsity structure for this case
new_x
flag could be used to avoid zero order forward mode
computations. Because the same ADFun object is used at different
argument values, this would require forward mode at multiple argument values
(see multiple arguments
).
AD<double>.
This would speed up compilation for the most common usage where
the Base type is double.
std::numeric_limits<double>::epsilon() instead
1e-10 for a small number in correctness checks; e.g.,
see tan.cpp
.
warning C4396:%...%
for every template function that is declared as a both a friend and inline
(it thinks it is only doing this for specializations of template functions).
The CPPAD_INLINE preprocessor symbol is used to convert
these inline directives to
empty code (if a Microsoft Visual C++ is used).
If it is shown to be faster and does not slow down CppAD with other compilers,
non-friend functions should be used to map these operations
to member functions so that both can be compiled inline.
add_element operation could be made faster
by cashing the iterator where the std::set inserts the
previous element. See the add_element routine in the file
sparse_set.hpp.
omp_alloc).
int when assigning
from double to
VecAD< AD<double> >::reference object.