lapack_calls.c
Go to the documentation of this file.
31 * LAPACK can be built with 32- or 64-bit integers, which is not visible to the outside. This interface tries to work
32 * around this issue. Since the Fortran routines are called by reference, they only get a pointer. We always use 64-bit
33 * integers on input, but reduce the output to 32-bit integers. We assume that all sizes can be represented in 32-bit
37/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
57/** transforms a SCIP_Real (that should be integer, but might be off by some numerical error) to an integer by adding 0.5 and rounding down */
136 * We assume that the number actually fits into an int. Thus, if more bits are used, we assume that the number is
167 /* otherwise we have a big-endian machine (e.g., PowerPC); the sought value is in the top part */
217 SCIP_Real* A, /**< matrix data on input (size n * n); eigenvectors on output if geteigenvectors == TRUE */
268 /* this computes the internally needed memory and returns this as (the first entries of [the 1x1 arrays]) WSIZE and WISIZE */
356 SCIP_Real* a, /**< matrix data on input (size N*N); eigenvectors on output if geteigenvectors == TRUE */
381 * Calls Lapacks DGETRF routine to calculate a LU factorization and uses this factorization to solve
common defines and data types used in all packages of SCIP
SCIP_RETCODE SCIPcallLapackDsyevIpopt(SCIP_Bool computeeigenvectors, int N, SCIP_Real *a, SCIP_Real *w)
Definition: nlpi_ipopt.cpp:2686
SCIP_RETCODE SCIPsolveLinearEquationsIpopt(int N, SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success)
Definition: nlpi_ipopt.cpp:2770
SCIP_RETCODE SCIPlapackComputeEigenvalues(BMS_BUFMEM *bufmem, SCIP_Bool geteigenvectors, int N, SCIP_Real *a, SCIP_Real *w)
Definition: lapack_calls.c:352
SCIP_RETCODE SCIPlapackSolveLinearEquations(BMS_BUFMEM *bufmem, int n, SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success)
Definition: lapack_calls.c:386
void SCIPlapackVersion(int *majorver, int *minorver, int *patchver)
Definition: lapack_calls.c:181
interface methods for lapack functions
memory allocation routines
#define BMSduplicateBufferMemoryArray(mem, ptr, source, num)
Definition: memory.h:737
Ipopt NLP interface.
public methods for message output
Definition: memory.c:2504
type definitions for return codes for SCIP methods