nlpi_ipopt_dummy.c File Reference
Detailed Description
dummy 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.
Macros | |
#define | ENTRY(i, j) (N * (j) + (i)) |
Functions | |
SCIP_RETCODE | SCIPcreateNlpSolverIpopt (BMS_BLKMEM *blkmem, SCIP_NLPI **nlpi) |
const char * | SCIPgetSolverNameIpopt (void) |
const char * | SCIPgetSolverDescIpopt (void) |
SCIP_Bool | SCIPisIpoptAvailableIpopt (void) |
void * | SCIPgetIpoptApplicationPointerIpopt (SCIP_NLPIPROBLEM *nlpiproblem) |
void * | SCIPgetNlpiOracleIpopt (SCIP_NLPIPROBLEM *nlpiproblem) |
void | SCIPsetModifiedDefaultSettingsIpopt (SCIP_NLPI *nlpi, const char *optionsstring, SCIP_Bool append) |
SCIP_RETCODE | LapackDsyev (SCIP_Bool computeeigenvectors, int N, SCIP_Real *a, SCIP_Real *w) |
static SCIP_RETCODE | SCIPsolveLinearProb3 (SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success) |
SCIP_RETCODE | SCIPsolveLinearProb (int N, SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success) |
Macro Definition Documentation
◆ ENTRY
#define ENTRY | ( | i, | |
j | |||
) | (N * (j) + (i)) |
Definition at line 111 of file nlpi_ipopt_dummy.c.
Referenced by SCIPsolveLinearProb(), and SCIPsolveLinearProb3().
Function Documentation
◆ SCIPsolveLinearProb3()
|
static |
- Parameters
-
A matrix data on input (size 3*3); filled column-wise b right hand side vector (size 3) x buffer to store solution (size 3) success pointer to store if the solving routine was successful
Definition at line 115 of file nlpi_ipopt_dummy.c.
References BMScopyMemoryArray, ENTRY, FALSE, NULL, SCIP_OKAY, SCIP_Real, TRUE, and y.
Referenced by SCIPsolveLinearProb().