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 */
108 void F77_FUNC(ilaver, ILAVER)(LAPACKINTTYPE* MAJOR, LAPACKINTTYPE* MINOR, LAPACKINTTYPE* PATCH);
134 /** converts a number stored in a int64_t to an int, depending on big- or little endian machines
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
Definition: memory.c:2495
SCIP_RETCODE SCIPlapackComputeEigenvalues(BMS_BUFMEM *bufmem, SCIP_Bool geteigenvectors, int N, SCIP_Real *a, SCIP_Real *w)
Definition: lapack_calls.c:352
SCIP_RETCODE SCIPcallLapackDsyevIpopt(SCIP_Bool computeeigenvectors, int N, SCIP_Real *a, SCIP_Real *w)
Definition: nlpi_ipopt.cpp:2686
type definitions for return codes for SCIP methods
#define BMSduplicateBufferMemoryArray(mem, ptr, source, num)
Definition: memory.h:737
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
Definition: type_retcode.h:42
SCIP_RETCODE SCIPsolveLinearEquationsIpopt(int N, SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success)
Definition: nlpi_ipopt.cpp:2770
interface methods for lapack functions
Definition: type_retcode.h:43
Ipopt NLP interface.
public methods for message output
struct SCIP_NlpiData F77_FUNC
Definition: type_retcode.h:54
common defines and data types used in all packages of SCIP
memory allocation routines