SCIP-SDP  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
cons_savedsdpsettings.h File Reference

constraint handler for saving SDP settings More...

Go to the source code of this file.

Functions

EXTERN SCIP_RETCODE SCIPincludeConshdlrSavedsdpsettings (SCIP *scip)
 
EXTERN SCIP_RETCODE createConsSavedsdpsettings (SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_SDPSOLVERSETTING settings)
 
EXTERN SCIP_SDPSOLVERSETTING SCIPconsSavedsdpsettingsGetSettings (SCIP *scip, SCIP_CONS *cons)
 

Detailed Description

constraint handler for saving SDP settings

Author
Tristan Gally

A constraint that is always feasible which can be used to save and recover settings used to solve the SDP-relaxation at the current node.

Definition in file cons_savedsdpsettings.h.

Function Documentation

EXTERN SCIP_RETCODE SCIPincludeConshdlrSavedsdpsettings ( SCIP *  scip)

include Savedsdpsettings constraint handler

include store bool constraint handler

Parameters
scipSCIP data structure

Definition at line 172 of file cons_savedsdpsettings.c.

References CONSHDLR_CHECKPRIORITY, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_NAME, and CONSHDLR_NEEDSCONS.

Referenced by runSCIP(), and SCIP_DECL_CONSHDLRCOPY().

EXTERN SCIP_RETCODE createConsSavedsdpsettings ( SCIP *  scip,
SCIP_CONS **  cons,
const char *  name,
SCIP_SDPSOLVERSETTING  settings 
)

create a Savedsdpsol constraint, i.e. save the current settings for the SDP-relaxation of this node

create a savedsdpsettings constraint, i.e. save the current settings for the SDP-relaxation of this node

Parameters
scipSCIP data structure
conspointer to hold the created constraint
namename of constraint
settingssettings to save

Definition at line 200 of file cons_savedsdpsettings.c.

Referenced by calcRelax().

EXTERN SCIP_SDPSOLVERSETTING SCIPconsSavedsdpsettingsGetSettings ( SCIP *  scip,
SCIP_CONS *  cons 
)

get the settings used to solve the SDP relaxation in this node

Parameters
scipSCIP data structure
consconstraint to get starting point for

Definition at line 235 of file cons_savedsdpsettings.c.

Referenced by calcRelax().