Detailed Description
trivialnegation primal heuristic
Definition in file heur_trivialnegation.c.
#include "scip/heur_trivialnegation.h"
#include "scip/pub_heur.h"
#include "scip/pub_message.h"
#include "scip/pub_sol.h"
#include "scip/pub_var.h"
#include "scip/scip_heur.h"
#include "scip/scip_message.h"
#include "scip/scip_numerics.h"
#include "scip/scip_prob.h"
#include "scip/scip_sol.h"
#include "scip/scip_solve.h"
#include "scip/scip_solvingstats.h"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | HEUR_NAME "trivialnegation" |
#define | HEUR_DESC "negate solution entries if an objective coefficient changes the sign, enters or leaves the objective." |
#define | HEUR_DISPCHAR SCIP_HEURDISPCHAR_PROP |
#define | HEUR_PRIORITY 40000 |
#define | HEUR_FREQ 0 |
#define | HEUR_FREQOFS 0 |
#define | HEUR_MAXDEPTH 0 |
#define | HEUR_TIMING SCIP_HEURTIMING_BEFORENODE |
#define | HEUR_USESSUBSCIP FALSE |
Functions | |
static | SCIP_DECL_HEURCOPY (heurCopyTrivialnegation) |
static | SCIP_DECL_HEUREXEC (heurExecTrivialnegation) |
SCIP_RETCODE | SCIPincludeHeurTrivialnegation (SCIP *scip) |
Macro Definition Documentation
◆ HEUR_NAME
#define HEUR_NAME "trivialnegation" |
Definition at line 38 of file heur_trivialnegation.c.
Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeHeurTrivialnegation().
◆ HEUR_DESC
#define HEUR_DESC "negate solution entries if an objective coefficient changes the sign, enters or leaves the objective." |
Definition at line 39 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_DISPCHAR
#define HEUR_DISPCHAR SCIP_HEURDISPCHAR_PROP |
Definition at line 40 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_PRIORITY
#define HEUR_PRIORITY 40000 |
Definition at line 41 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_FREQ
#define HEUR_FREQ 0 |
Definition at line 42 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_FREQOFS
#define HEUR_FREQOFS 0 |
Definition at line 43 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_MAXDEPTH
#define HEUR_MAXDEPTH 0 |
Definition at line 44 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_TIMING
#define HEUR_TIMING SCIP_HEURTIMING_BEFORENODE |
Definition at line 45 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
◆ HEUR_USESSUBSCIP
#define HEUR_USESSUBSCIP FALSE |
does the heuristic use a secondary SCIP instance?
Definition at line 46 of file heur_trivialnegation.c.
Referenced by SCIPincludeHeurTrivialnegation().
Function Documentation
◆ SCIP_DECL_HEURCOPY()
|
static |
copy method for primal heuristic plugins (called when SCIP copies plugins)
Definition at line 54 of file heur_trivialnegation.c.
References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurTrivialnegation().
◆ SCIP_DECL_HEUREXEC()
|
static |
execution method of primal heuristic
Definition at line 69 of file heur_trivialnegation.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_BINARY, SCIPcreateSol(), SCIPdebug, SCIPdebugMsg, SCIPfreeSol(), SCIPgetCutoffbound(), SCIPgetNBinVars(), SCIPgetNReoptRuns(), SCIPgetNVars(), SCIPgetReoptLastOptSol(), SCIPgetReoptOldObjCoef(), SCIPgetSolTransObj(), SCIPgetSolVal(), SCIPgetVars(), SCIPisFeasEQ(), SCIPisFeasLT(), SCIPisNegative(), SCIPisPositive(), SCIPisReoptEnabled(), SCIPisZero(), SCIPprintSol(), SCIPsetSolVal(), SCIPsolGetHeur(), SCIPtrySol(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetType(), SCIPvarGetUbGlobal(), SCIPvarIsActive(), and TRUE.