summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/IpLapack.hpp
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:34:27 +0530
committerHarpreet2016-09-03 00:34:27 +0530
commit4b64cf486f5c999fd8167758cae27839f3b50848 (patch)
treed9d06639fb7fa61aef59be0363655e4747105ec7 /newstructure/thirdparty/linux/include/coin/IpLapack.hpp
parentd19794fb80a271a4c885ed90f97cfc12baa012f2 (diff)
downloadFOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.gz
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.tar.bz2
FOSSEE-Optim-toolbox-development-4b64cf486f5c999fd8167758cae27839f3b50848.zip
Structure updated and intqpipopt files added
Diffstat (limited to 'newstructure/thirdparty/linux/include/coin/IpLapack.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/IpLapack.hpp55
1 files changed, 55 insertions, 0 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/IpLapack.hpp b/newstructure/thirdparty/linux/include/coin/IpLapack.hpp
new file mode 100644
index 0000000..ef8883c
--- /dev/null
+++ b/newstructure/thirdparty/linux/include/coin/IpLapack.hpp
@@ -0,0 +1,55 @@
+// Copyright (C) 2005, 2009 International Business Machines and others.
+// All Rights Reserved.
+// This code is published under the Eclipse Public License.
+//
+// $Id: IpLapack.hpp 2449 2013-12-16 00:25:42Z ghackebeil $
+//
+// Authors: Andreas Waechter IBM 2005-12-25
+
+#ifndef __IPLAPACK_HPP__
+#define __IPLAPACK_HPP__
+
+#include "IpUtils.hpp"
+#include "IpException.hpp"
+
+namespace Ipopt
+{
+ DECLARE_STD_EXCEPTION(LAPACK_NOT_INCLUDED);
+
+ /** Wrapper for LAPACK subroutine DPOTRS. Solving a linear system
+ * given a Cholesky factorization. We assume that the Cholesky
+ * factor is lower traiangular. */
+ void IpLapackDpotrs(Index ndim, Index nrhs, const Number *a, Index lda,
+ Number *b, Index ldb);
+
+ /** Wrapper for LAPACK subroutine DPOTRF. Compute Cholesky
+ * factorization (lower triangular factor). info is the return
+ * value from the LAPACK routine. */
+ void IpLapackDpotrf(Index ndim, Number *a, Index lda, Index& info);
+
+ /** Wrapper for LAPACK subroutine DSYEV. Compute the Eigenvalue
+ * decomposition for a given matrix. If compute_eigenvectors is
+ * true, a will contain the eigenvectors in its columns on
+ * return. */
+ void IpLapackDsyev(bool compute_eigenvectors, Index ndim, Number *a,
+ Index lda, Number *w, Index& info);
+
+ /** Wrapper for LAPACK subroutine DGETRF. Compute LU factorization.
+ * info is the return value from the LAPACK routine. */
+ void IpLapackDgetrf(Index ndim, Number *a, Index* pivot, Index lda,
+ Index& info);
+
+ /** Wrapper for LAPACK subroutine DGETRS. Solving a linear system
+ * given a LU factorization. */
+ void IpLapackDgetrs(Index ndim, Index nrhs, const Number *a, Index lda,
+ Index* ipiv, Number *b, Index ldb);
+
+ /** Wrapper for LAPACK subroutine DPPSV. Solves a symmetric positive
+ * definite linear system in packed storage format (upper triangular).
+ * info is the return value from the LAPACK routine. */
+ void IpLapackDppsv(Index ndim, Index nrhs, const Number *a,
+ Number *b, Index ldb, Index& info);
+
+} // namespace Ipopt
+
+#endif