Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods and files provided by the default NLP solver interfaces of SCIP

A detailed description what a NLP solver interface does and how to add a NLP solver interface to SCIP can be found here.

Modules

 Inclusion methods
 methods to include specific NLP solver interfaces into SCIP
 

Functions

void SCIPsetLicenseConopt (SCIP_NLPI *nlpi, int integer_1, int integer_2, int integer_3, const char *text)
 
const char * SCIPgetSolverNameConopt (void)
 
const char * SCIPgetSolverDescConopt (void)
 
SCIP_Bool SCIPisConoptAvailableConopt (void)
 
const char * SCIPgetSolverNameFilterSQP (void)
 
const char * SCIPgetSolverDescFilterSQP (void)
 
SCIP_Bool SCIPisFilterSQPAvailableFilterSQP (void)
 
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)
 
SCIP_RETCODE SCIPsolveLinearEquationsIpopt (int N, SCIP_Real *A, SCIP_Real *b, SCIP_Real *x, SCIP_Bool *success)
 
const char * SCIPgetSolverNameWorhp (void)
 
const char * SCIPgetSolverDescWorhp (void)
 
SCIP_Bool SCIPisWorhpAvailableWorhp (void)
 

Files

file  nlpi_all.h
 NLP interface that uses all available NLP interfaces.
 
file  nlpi_conopt.h
 CONOPT NLP interface.
 
file  nlpi_filtersqp.h
 filterSQP NLP interface
 
file  nlpi_ipopt.h
 Ipopt NLP interface.
 
file  nlpi_worhp.h
 Worhp NLP interface.
 

Function Documentation

◆ SCIPsetLicenseConopt()

void SCIPsetLicenseConopt ( SCIP_NLPI nlpi,
int  integer_1,
int  integer_2,
int  integer_3,
const char *  text 
)

sets the license to be passed to CONOPT's COIDEF_License

Parameters
nlpiCONOPT NLPI
integer_1CONOPT_LICENSE_INT_1
integer_2CONOPT_LICENSE_INT_2
integer_3CONOPT_LICENSE_INT_3
textCONOPT_LICENSE_TEXT

Definition at line 1516 of file nlpi_conopt.c.

References NULL, SCIPnlpiGetData(), and SCIPsnprintf().

Referenced by SCIP_DECL_NLPICOPY().

◆ SCIPgetSolverNameConopt()

const char * SCIPgetSolverNameConopt ( void  )

gets string that identifies CONOPT

Definition at line 1540 of file nlpi_conopt.c.

References STR.

Referenced by SCIPincludeNlpSolverConopt().

◆ SCIPgetSolverDescConopt()

const char * SCIPgetSolverDescConopt ( void  )

gets string that describes CONOPT

Definition at line 1548 of file nlpi_conopt.c.

Referenced by SCIPincludeNlpSolverConopt().

◆ SCIPisConoptAvailableConopt()

SCIP_Bool SCIPisConoptAvailableConopt ( void  )

returns whether CONOPT is available, i.e., whether it has been linked in

Definition at line 1556 of file nlpi_conopt.c.

References FALSE, and TRUE.

◆ SCIPgetSolverNameFilterSQP()

const char * SCIPgetSolverNameFilterSQP ( void  )

gets string that identifies filterSQP

Definition at line 1832 of file nlpi_filtersqp.c.

Referenced by SCIPincludeNlpSolverFilterSQP().

◆ SCIPgetSolverDescFilterSQP()

const char * SCIPgetSolverDescFilterSQP ( void  )

gets string that describes filterSQP

Definition at line 1840 of file nlpi_filtersqp.c.

References NLPI_DESC.

Referenced by SCIPincludeNlpSolverFilterSQP().

◆ SCIPisFilterSQPAvailableFilterSQP()

SCIP_Bool SCIPisFilterSQPAvailableFilterSQP ( void  )

returns whether filterSQP is available, i.e., whether it has been linked in

Definition at line 1848 of file nlpi_filtersqp.c.

References FALSE, and TRUE.

◆ SCIPgetSolverNameIpopt()

const char * SCIPgetSolverNameIpopt ( void  )

gets string that identifies Ipopt (version number)

Definition at line 1856 of file nlpi_ipopt.cpp.

Referenced by SCIPincludeNlpSolverIpopt().

◆ SCIPgetSolverDescIpopt()

const char * SCIPgetSolverDescIpopt ( void  )

gets string that describes Ipopt

Definition at line 1862 of file nlpi_ipopt.cpp.

Referenced by SCIPincludeNlpSolverIpopt().

◆ SCIPisIpoptAvailableIpopt()

SCIP_Bool SCIPisIpoptAvailableIpopt ( void  )

returns whether Ipopt is available, i.e., whether it has been linked in

Definition at line 1868 of file nlpi_ipopt.cpp.

References FALSE, and TRUE.

Referenced by SCIP_DECL_SEPAEXECLP(), SCIPlapackComputeEigenvalues(), SCIPlapackIsAvailable(), and SCIPlapackSolveLinearEquations().

◆ SCIPgetNlpiOracleIpopt()

void * SCIPgetNlpiOracleIpopt ( SCIP_NLPIPROBLEM nlpiproblem)

gives a pointer to the NLPIORACLE object stored in Ipopt-NLPI's NLPI problem data structure

Parameters
nlpiproblemNLP problem of Ipopt-NLPI

Definition at line 1874 of file nlpi_ipopt.cpp.

References NULL, SCIP_NlpiProblem::oracle, SCIPABORT, and SCIPerrorMessage.

Referenced by computeInteriorPoint().

◆ SCIPcallLapackDsyevIpopt()

SCIP_RETCODE SCIPcallLapackDsyevIpopt ( SCIP_Bool  computeeigenvectors,
int  N,
SCIP_Real a,
SCIP_Real w 
)

Calls Lapacks Dsyev routine to compute eigenvalues and eigenvectors of a dense matrix.

This uses Ipopt's interface to Lapack.

Parameters
computeeigenvectorsshould also eigenvectors should be computed ?
Ndimension
amatrix data on input (size N*N); eigenvectors on output if computeeigenvectors == TRUE
wbuffer to store eigenvalues (size N)

Definition at line 2718 of file nlpi_ipopt.cpp.

References a, SCIP_ERROR, SCIP_OKAY, SCIPerrorMessage, and w.

Referenced by SCIPlapackComputeEigenvalues().

◆ SCIPsolveLinearEquationsIpopt()

SCIP_RETCODE SCIPsolveLinearEquationsIpopt ( int  N,
SCIP_Real A,
SCIP_Real b,
SCIP_Real x,
SCIP_Bool success 
)

solves a linear problem of the form Ax = b for a regular matrix A

Calls Lapacks DGETRF routine to calculate a LU factorization and uses this factorization to solve the linear problem Ax = b.

This uses Ipopt's interface to Lapack.

Parameters
Ndimension
Amatrix data on input (size N*N); filled column-wise
bright hand side vector (size N)
xbuffer to store solution (size N)
successpointer to store if the solving routine was successful

Definition at line 2802 of file nlpi_ipopt.cpp.

References b, BMSallocMemoryArray, BMScopyMemoryArray, BMSduplicateMemoryArray, BMSfreeMemoryArray, FALSE, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_ERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, solveLinearProb3(), TRUE, and x.

Referenced by SCIPlapackSolveLinearEquations().

◆ SCIPgetSolverNameWorhp()

const char * SCIPgetSolverNameWorhp ( void  )

gets string that identifies Worhp (version number)

Definition at line 1648 of file nlpi_worhp.c.

Referenced by SCIPincludeNlpSolverWorhp().

◆ SCIPgetSolverDescWorhp()

const char * SCIPgetSolverDescWorhp ( void  )

gets string that describes Worhp (version number)

Definition at line 1662 of file nlpi_worhp.c.

Referenced by SCIPincludeNlpSolverWorhp().

◆ SCIPisWorhpAvailableWorhp()

SCIP_Bool SCIPisWorhpAvailableWorhp ( void  )

returns whether Worhp is available, i.e., whether it has been linked in

Definition at line 1670 of file nlpi_worhp.c.

References FALSE, and TRUE.