Scippy

SCIP

Solving Constraint Integer Programs

nlpi_filtersqp_dummy.c
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2022 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file nlpi_filtersqp_dummy.c
17  * @ingroup DEFPLUGINS_NLPI
18  * @brief dummy filterSQP NLP interface for the case that FilterSQP is not available
19  * @author Stefan Vigerske
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #include "scip/pub_message.h"
25 #include "scip/nlpi_filtersqp.h"
26 
27 /** create solver interface for filterSQP solver and include it into SCIP, if filterSQP is available */
29  SCIP* scip /**< SCIP data structure */
30  )
31 { /*lint --e{715}*/
32  assert(scip != NULL);
33 
34  return SCIP_OKAY;
35 }
36 
37 /** gets string that identifies filterSQP */
38 const char* SCIPgetSolverNameFilterSQP(void)
39 {
40  return "";
41 }
42 
43 /** gets string that describes filterSQP */
44 const char* SCIPgetSolverDescFilterSQP(void)
45 {
46  return "";
47 }
48 
49 /** returns whether filterSQP is available, i.e., whether it has been linked in */
51 {
52  return FALSE;
53 }
SCIP_RETCODE SCIPincludeNlpSolverFilterSQP(SCIP *scip)
const char * SCIPgetSolverDescFilterSQP(void)
#define FALSE
Definition: def.h:87
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
filterSQP NLP interface
SCIP_Bool SCIPisFilterSQPAvailableFilterSQP(void)
#define NULL
Definition: lpi_spx1.cpp:155
#define SCIP_Bool
Definition: def.h:84
public methods for message output
const char * SCIPgetSolverNameFilterSQP(void)