Scippy

SCIP

Solving Constraint Integer Programs

nlpi_worhp_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-2021 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_worhp_dummy.c
17  * @ingroup NLPIS
18  * @brief dummy WORHP NLP interface
19  * @author Benjamin Mueller
20  */
21 
22 #include "nlpi/nlpi_worhp.h"
23 
24 /** create solver interface for Worhp solver */ /*lint -e715*/
26  BMS_BLKMEM* blkmem, /**< block memory data structure */
27  SCIP_NLPI** nlpi, /**< pointer to buffer for nlpi address */
28  SCIP_Bool useip /**< TRUE for using Interior Point, FALSE for SQP */
29  )
30 {
31  *nlpi = NULL;
32 
33  return SCIP_OKAY;
34 } /*lint !e715*/
35 
36 /** gets string that identifies Worhp (version number) */
37 const char* SCIPgetSolverNameWorhp(void)
38 {
39  return "WORHP";
40 }
41 
42 /** gets string that describes Worhp (version number) */
43 const char* SCIPgetSolverDescWorhp(void)
44 {
45  return "this is WORHP";
46 }
47 
48 /** returns whether Worhp is available, i.e., whether it has been linked in */
50 {
51  return FALSE;
52 }
#define FALSE
Definition: def.h:73
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_Bool SCIPisWorhpAvailableWorhp(void)
const char * SCIPgetSolverNameWorhp(void)
#define NULL
Definition: lpi_spx1.cpp:155
Worhp NLP interface.
SCIP_RETCODE SCIPcreateNlpSolverWorhp(BMS_BLKMEM *blkmem, SCIP_NLPI **nlpi, SCIP_Bool useip)
#define SCIP_Bool
Definition: def.h:70
const char * SCIPgetSolverDescWorhp(void)
struct BMS_BlkMem BMS_BLKMEM
Definition: memory.h:429