|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nlpi_ipopt_dummy.c File Reference Detailed Descriptiondummy Ipopt NLP interface for the case that Ipopt is not available This code has been separate from nlpi_ipopt.cpp, so the SCIP build system recognizes it as pure C code, thus the linker does not need to be changed to C++. Definition in file nlpi_ipopt_dummy.c. Go to the source code of this file.
Function Documentation
create solver interface for Ipopt solver
Definition at line 31 of file nlpi_ipopt_dummy.c. References NLPI_DESC, NLPI_NAME, NLPI_PRIORITY, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, and SCIPnlpiCreate().
gets string that identifies Ipopt (version number) Definition at line 44 of file nlpi_ipopt_dummy.c.
gets string that describes Ipopt (version number) Definition at line 50 of file nlpi_ipopt_dummy.c.
returns whether Ipopt is available, i.e., whether it has been linked in Definition at line 56 of file nlpi_ipopt_dummy.c.
gives a pointer to the IpoptApplication object stored in Ipopt-NLPI's NLPI problem data structure
Definition at line 62 of file nlpi_ipopt_dummy.c. References SCIP_NlpiProblem::ipopt, NULL, SCIPABORT, and SCIPerrorMessage.
gives a pointer to the NLPIORACLE object stored in Ipopt-NLPI's NLPI problem data structure
Definition at line 72 of file nlpi_ipopt_dummy.c. References NULL, SCIP_NlpiProblem::oracle, SCIPABORT, and SCIPerrorMessage.
sets modified default settings that are used when setting up an Ipopt problem Do not forget to add a newline after the last option in optionsstring.
Definition at line 85 of file nlpi_ipopt_dummy.c. References NULL, SCIPABORT, SCIPerrorMessage, and SCIPnlpiGetData().
Calls Lapacks Dsyev routine to compute eigenvalues and eigenvectors of a dense matrix. It's here, because Ipopt is linked against Lapack.
Definition at line 97 of file nlpi_ipopt_dummy.c. References SCIP_ERROR, SCIP_OKAY, and SCIPerrorMessage.
Calls Lapacks IpLapackDgetrf routine to calculate a LU factorization and uses this factorization to solve the linear problem Ax = b. It's here, because Ipopt is linked against Lapack. solves a linear problem of the form Ax = b Calls Lapacks IpLapackDgetrf routine to calculate a LU factorization and uses this factorization to solve the linear problem Ax = b. It's here, because Ipopt is linked against Lapack.
Definition at line 109 of file nlpi_ipopt_dummy.c. References BMSallocMemoryArray, BMSfreeMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_OKAY, SCIP_Real, SCIPerrorMessage, and TRUE. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||