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-2024 Zuse Institute Berlin (ZIB) */
7 /* */
8 /* Licensed under the Apache License, Version 2.0 (the "License"); */
9 /* you may not use this file except in compliance with the License. */
10 /* You may obtain a copy of the License at */
11 /* */
12 /* http://www.apache.org/licenses/LICENSE-2.0 */
13 /* */
14 /* Unless required by applicable law or agreed to in writing, software */
15 /* distributed under the License is distributed on an "AS IS" BASIS, */
16 /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17 /* See the License for the specific language governing permissions and */
18 /* limitations under the License. */
19 /* */
20 /* You should have received a copy of the Apache-2.0 license */
21 /* along with SCIP; see the file LICENSE. If not visit scipopt.org. */
22 /* */
23 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24 
25 /**@file nlpi_filtersqp_dummy.c
26  * @ingroup DEFPLUGINS_NLPI
27  * @brief dummy filterSQP NLP interface for the case that FilterSQP is not available
28  * @author Stefan Vigerske
29  */
30 
31 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
32 
33 #include "scip/pub_message.h"
34 #include "scip/nlpi_filtersqp.h"
35 
36 /** create solver interface for filterSQP solver and include it into SCIP, if filterSQP is available */
38  SCIP* scip /**< SCIP data structure */
39  )
40 { /*lint --e{715}*/
41  assert(scip != NULL);
42 
43  return SCIP_OKAY;
44 }
45 
46 /** gets string that identifies filterSQP */
47 const char* SCIPgetSolverNameFilterSQP(void)
48 {
49  return "";
50 }
51 
52 /** gets string that describes filterSQP */
53 const char* SCIPgetSolverDescFilterSQP(void)
54 {
55  return "";
56 }
57 
58 /** returns whether filterSQP is available, i.e., whether it has been linked in */
60 {
61  return FALSE;
62 }
#define NULL
Definition: def.h:267
SCIP_RETCODE SCIPincludeNlpSolverFilterSQP(SCIP *scip)
const char * SCIPgetSolverDescFilterSQP(void)
#define FALSE
Definition: def.h:94
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:63
filterSQP NLP interface
SCIP_Bool SCIPisFilterSQPAvailableFilterSQP(void)
#define SCIP_Bool
Definition: def.h:91
public methods for message output
const char * SCIPgetSolverNameFilterSQP(void)