Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

dummy Ipopt NLP interface for the case that Ipopt is not available

Author
Stefan Vigerske
Benjamin Müller

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,
 
)    (N * (j) + (i))

Definition at line 83 of file nlpi_ipopt_dummy.c.

Referenced by SCIPsolveLinearEquationsIpopt(), and solveLinearProb3().

Function Documentation

◆ solveLinearProb3()

static SCIP_RETCODE solveLinearProb3 ( SCIP_Real A,
SCIP_Real b,
SCIP_Real x,
SCIP_Bool success 
)
static
Parameters
Amatrix data on input (size 3*3); filled column-wise
bright hand side vector (size 3)
xbuffer to store solution (size 3)
successpointer 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().