type definitions for presolvers
Definition in file type_presol.h.
#include "scip/def.h"
#include "scip/type_retcode.h"
#include "scip/type_result.h"
#include "scip/type_scip.h"
Go to the source code of this file.
Macros | |
#define | SCIP_DECL_PRESOLCOPY(x) |
#define | SCIP_DECL_PRESOLFREE(x) |
#define | SCIP_DECL_PRESOLINIT(x) |
#define | SCIP_DECL_PRESOLEXIT(x) |
#define | SCIP_DECL_PRESOLINITPRE(x) |
#define | SCIP_DECL_PRESOLEXITPRE(x) |
#define | SCIP_DECL_PRESOLEXEC(x) |
#define SCIP_DECL_PRESOLCOPY | ( | x | ) |
copy method for presolver plugins (called when SCIP copies plugins)
input:
Definition at line 60 of file type_presol.h.
Referenced by doPresolCreate(), SCIPincludePresol(), SCIPpresolCreate(), SCIPpresolSetCopy(), and SCIPsetPresolCopy().
#define SCIP_DECL_PRESOLFREE | ( | x | ) |
destructor of presolver to free user data (called when SCIP is exiting)
input:
Definition at line 68 of file type_presol.h.
Referenced by doPresolCreate(), SCIPincludePresol(), SCIPpresolCreate(), SCIPpresolSetFree(), and SCIPsetPresolFree().
#define SCIP_DECL_PRESOLINIT | ( | x | ) |
initialization method of presolver (called after problem was transformed)
input:
Definition at line 76 of file type_presol.h.
Referenced by doPresolCreate(), SCIPincludePresol(), SCIPpresolCreate(), SCIPpresolSetInit(), and SCIPsetPresolInit().
#define SCIP_DECL_PRESOLEXIT | ( | x | ) |
deinitialization method of presolver (called before transformed problem is freed)
input:
Definition at line 84 of file type_presol.h.
Referenced by doPresolCreate(), SCIPincludePresol(), SCIPpresolCreate(), SCIPpresolSetExit(), and SCIPsetPresolExit().
#define SCIP_DECL_PRESOLINITPRE | ( | x | ) |
presolving initialization method of presolver (called when presolving is about to begin)
This method is called when the presolving process is about to begin, even if presolving is turned off. The presolver may use this call to initialize its data structures.
Necessary modifications that have to be performed even if presolving is turned off should be done here or in the presolving deinitialization call (SCIP_DECL_PRESOLSEXITPRE()).
input:
Definition at line 98 of file type_presol.h.
Referenced by SCIPpresolSetInitpre(), and SCIPsetPresolInitpre().
#define SCIP_DECL_PRESOLEXITPRE | ( | x | ) |
presolving deinitialization method of presolver (called after presolving has been finished)
This method is called after the presolving has been finished, even if presolving is turned off. The presolver may use this call e.g. to clean up or modify its data structures.
Necessary modifications that have to be performed even if presolving is turned off should be done here or in the presolving initialization call (SCIP_DECL_PRESOLINITPRE()).
Besides necessary modifications and clean up, no time consuming operations should be performed, especially if the problem has already been solved. Use the method SCIPgetStatus(), which in this case returns SCIP_STATUS_OPTIMAL, SCIP_STATUS_INFEASIBLE, SCIP_STATUS_UNBOUNDED, or SCIP_STATUS_INFORUNBD.
input:
Definition at line 116 of file type_presol.h.
Referenced by SCIPpresolSetExitpre(), and SCIPsetPresolExitpre().
#define SCIP_DECL_PRESOLEXEC | ( | x | ) |
execution method of presolver
The presolver should go through the variables and constraints and tighten the domains or constraints. Each tightening should increase the given total numbers of changes.
input:
input/output:
output:
possible return values for *result:
Definition at line 167 of file type_presol.h.
Referenced by doPresolCreate(), SCIPincludePresol(), SCIPincludePresolBasic(), and SCIPpresolCreate().
typedef struct SCIP_Presol SCIP_PRESOL |
presolver data structure
Definition at line 50 of file type_presol.h.
typedef struct SCIP_PresolData SCIP_PRESOLDATA |
presolver specific data
Definition at line 51 of file type_presol.h.