nlpi_ipopt_dummy.c File Reference
Detailed Description
dummy Ipopt NLP interface for the case that Ipopt is not available
This code has been separated 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 | SCIPincludeNlpSolverIpopt (SCIP *scip) |
| const char * | SCIPgetSolverNameIpopt (void) |
| const char * | SCIPgetSolverDescIpopt (void) |
| SCIP_Bool | SCIPisIpoptAvailableIpopt (void) |
| void * | SCIPgetNlpiOracleIpopt (SCIP_NLPIPROBLEM *nlpiproblem) |
| SCIP_RETCODE | SCIPcallLapackDsyevIpopt (SCIP_Bool computeeigenvectors, int N, SCIP_Real *a, SCIP_Real *w) |
| static SCIP_RETCODE | solveLinearProb3 (SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success) |
| SCIP_RETCODE | SCIPsolveLinearEquationsIpopt (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 83 of file nlpi_ipopt_dummy.c.
Referenced by SCIPsolveLinearEquationsIpopt(), and solveLinearProb3().
Function Documentation
◆ solveLinearProb3()
|
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 87 of file nlpi_ipopt_dummy.c.
References BMScopyMemoryArray, ENTRY, FALSE, NULL, SCIP_OKAY, SCIP_Real, TRUE, and y.
Referenced by SCIPsolveLinearEquationsIpopt().
