Scippy

SCIP

Solving Constraint Integer Programs

relax_nlp.c File Reference

Detailed Description

nlp relaxator

Author
Benjamin Mueller

Definition in file relax_nlp.c.

#include <assert.h>
#include "nlpi/nlpi.h"
#include "relax_nlp.h"

Go to the source code of this file.

Macros

#define RELAX_NAME   "nlp"
 
#define RELAX_DESC   "relaxator solving a convex NLP relaxation"
 
#define RELAX_PRIORITY   10
 
#define RELAX_FREQ   1
 
#define NLPITERLIMIT   500
 
#define NLPVERLEVEL   0
 
#define FEASTOLFAC   0.01
 
#define RELOBJTOLFAC   0.01
 

Functions

static SCIP_DECL_RELAXINITSOL (relaxInitsolNlp)
 
static SCIP_DECL_RELAXEXITSOL (relaxExitsolNlp)
 
static SCIP_DECL_RELAXEXEC (relaxExecNlp)
 
SCIP_RETCODE SCIPincludeRelaxNlp (SCIP *scip)
 

Macro Definition Documentation

◆ RELAX_NAME

#define RELAX_NAME   "nlp"

Definition at line 29 of file relax_nlp.c.

Referenced by SCIPincludeRelaxNlp().

◆ RELAX_DESC

#define RELAX_DESC   "relaxator solving a convex NLP relaxation"

Definition at line 30 of file relax_nlp.c.

Referenced by SCIPincludeRelaxNlp().

◆ RELAX_PRIORITY

#define RELAX_PRIORITY   10

Definition at line 31 of file relax_nlp.c.

Referenced by SCIPincludeRelaxNlp().

◆ RELAX_FREQ

#define RELAX_FREQ   1

Definition at line 32 of file relax_nlp.c.

Referenced by SCIPincludeRelaxNlp().

◆ NLPITERLIMIT

#define NLPITERLIMIT   500

iteration limit of NLP solver

Definition at line 34 of file relax_nlp.c.

Referenced by SCIP_DECL_RELAXEXEC().

◆ NLPVERLEVEL

#define NLPVERLEVEL   0

verbosity level of NLP solver

Definition at line 35 of file relax_nlp.c.

Referenced by SCIP_DECL_RELAXEXEC().

◆ FEASTOLFAC

#define FEASTOLFAC   0.01

factor for NLP feasibility tolerance

Definition at line 36 of file relax_nlp.c.

Referenced by SCIP_DECL_RELAXEXEC().

◆ RELOBJTOLFAC

#define RELOBJTOLFAC   0.01

factor for NLP relative objective tolerance

Definition at line 37 of file relax_nlp.c.

Referenced by SCIP_DECL_RELAXEXEC().

Function Documentation

◆ SCIP_DECL_RELAXINITSOL()

static SCIP_DECL_RELAXINITSOL ( relaxInitsolNlp  )
static

solving process initialization method of relaxator (called when branch and bound process is about to begin)

Definition at line 56 of file relax_nlp.c.

References SCIP_OKAY.

◆ SCIP_DECL_RELAXEXITSOL()

static SCIP_DECL_RELAXEXITSOL ( relaxExitsolNlp  )
static

solving process deinitialization method of relaxator (called before branch and bound process data is freed)

Definition at line 64 of file relax_nlp.c.

References SCIP_OKAY.

◆ SCIP_DECL_RELAXEXEC()

◆ SCIPincludeRelaxNlp()

SCIP_RETCODE SCIPincludeRelaxNlp ( SCIP scip)

creates the nlp relaxator and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 181 of file relax_nlp.c.

References NULL, RELAX_DESC, RELAX_FREQ, RELAX_NAME, RELAX_PRIORITY, SCIP_CALL, SCIP_OKAY, SCIPincludeRelaxBasic(), SCIPsetRelaxExitsol(), and SCIPsetRelaxInitsol().

Referenced by runShell().