SCIP-SDP
3.0.1
|
constraint handler for saving SDP settings More...
Go to the source code of this file.
Macros | |
#define | CONSHDLR_NAME "Savedsdpsettings" |
#define | CONSHDLR_DESC "constraint handler to store SDP settings for each node" |
#define | CONSHDLR_ENFOPRIORITY 0 |
#define | CONSHDLR_CHECKPRIORITY 0 |
#define | CONSHDLR_EAGERFREQ 100 |
#define | CONSHDLR_NEEDSCONS TRUE |
Functions | |
static | SCIP_DECL_CONSDELETE (consDeleteSavedsdpsettings) |
static | SCIP_DECL_CONSENFOLP (consEnfolpSavedsdpsettings) |
static | SCIP_DECL_CONSENFORELAX (consEnforelaxSavedsdpsettings) |
static | SCIP_DECL_CONSENFOPS (consEnfopsSavedsdpsettings) |
static | SCIP_DECL_CONSCHECK (consCheckSavedsdpsettings) |
static | SCIP_DECL_CONSLOCK (consLockSavedsdpsettings) |
static | SCIP_DECL_CONSHDLRCOPY (conshdlrCopySavedsdpsettings) |
static | SCIP_DECL_CONSCOPY (consCopySavedsdpsettings) |
SCIP_RETCODE | SCIPincludeConshdlrSavedsdpsettings (SCIP *scip) |
SCIP_RETCODE | createConsSavedsdpsettings (SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_SDPSOLVERSETTING settings) |
SCIP_SDPSOLVERSETTING | SCIPconsSavedsdpsettingsGetSettings (SCIP *scip, SCIP_CONS *cons) |
constraint handler for saving SDP settings
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.c.
#define CONSHDLR_NAME "Savedsdpsettings" |
Definition at line 49 of file cons_savedsdpsettings.c.
Referenced by SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSLOCK(), and SCIPincludeConshdlrSavedsdpsettings().
#define CONSHDLR_DESC "constraint handler to store SDP settings for each node" |
Definition at line 50 of file cons_savedsdpsettings.c.
Referenced by SCIPincludeConshdlrSavedsdpsettings().
#define CONSHDLR_ENFOPRIORITY 0 |
priority of the constraint handler for constraint enforcing
Definition at line 51 of file cons_savedsdpsettings.c.
Referenced by SCIPincludeConshdlrSavedsdpsettings().
#define CONSHDLR_CHECKPRIORITY 0 |
priority of the constraint handler for checking feasibility
Definition at line 52 of file cons_savedsdpsettings.c.
Referenced by SCIPincludeConshdlrSavedsdpsettings().
#define CONSHDLR_EAGERFREQ 100 |
frequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only
Definition at line 53 of file cons_savedsdpsettings.c.
Referenced by SCIPincludeConshdlrSavedsdpsettings().
#define CONSHDLR_NEEDSCONS TRUE |
should the constraint handler be skipped, if no constraints are available?
Definition at line 56 of file cons_savedsdpsettings.c.
Referenced by SCIPincludeConshdlrSavedsdpsettings().
|
static |
frees specific constraint data
Definition at line 66 of file cons_savedsdpsettings.c.
|
static |
constraint enforcing method of constraint handler for LP solutions
Definition at line 84 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME.
|
static |
constraint enforcing method of constraint handler for LP solutions
Definition at line 100 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME.
|
static |
constraint enforcing method of constraint handler for pseudo solutions
Definition at line 116 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME.
|
static |
feasibility check method of constraint handler for primal solutions
Definition at line 132 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME.
|
static |
variable rounding lock method of constraint handler
Definition at line 148 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME.
|
static |
copy method for constraint handler plugins (called when SCIP copies plugins)
Definition at line 161 of file cons_savedsdpsettings.c.
References CONSHDLR_NAME, and SCIPincludeConshdlrSavedsdpsettings().
|
static |
constraint copying method of constraint handler
Definition at line 179 of file cons_savedsdpsettings.c.
References createConsSavedsdpsettings(), name, and SCIPconsSavedsdpsettingsGetSettings().
SCIP_RETCODE SCIPincludeConshdlrSavedsdpsettings | ( | SCIP * | scip | ) |
include Savedsdpsettings constraint handler
scip | SCIP data structure |
Definition at line 197 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().
SCIP_RETCODE createConsSavedsdpsettings | ( | SCIP * | scip, |
SCIP_CONS ** | cons, | ||
const char * | name, | ||
SCIP_SDPSOLVERSETTING | settings | ||
) |
create a savedsdpsettings constraint, i.e. save the current settings for the SDP-relaxation of this node
scip | SCIP data structure |
cons | pointer to hold the created constraint |
name | name of constraint |
settings | settings to save |
Definition at line 226 of file cons_savedsdpsettings.c.
Referenced by calcRelax(), and SCIP_DECL_CONSCOPY().
SCIP_SDPSOLVERSETTING SCIPconsSavedsdpsettingsGetSettings | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
get the settings used to solve the SDP relaxation in this node
scip | SCIP data structure |
cons | constraint to get starting point for |
Definition at line 261 of file cons_savedsdpsettings.c.
Referenced by calcRelax(), and SCIP_DECL_CONSCOPY().