benders.h
Go to the documentation of this file.
29 * Run Benders algorithm using an oracle for solving the subproblems and solving the master problem to optimality.
46 BENDERS_STATUS_SUCESS = 2, /**< the solution is optimal, no further Benders cut has to be generated */
48 BENDERS_STATUS_USERINTERRUPT = 4, /**< the user has interrupted the solution of the subproblem */
68 * The oracle should take the given solution and possibly add a Benders Cut to the master problem.
70 #define BENDERS_CUTORACLE(x) SCIP_RETCODE x (SCIP* masterscip, int nmastervars, SCIP_VAR** mastervars, SCIP_Real* mastersolution, BENDERS_DATA* data, SCIP_Real timelimit, SCIP_Longint ntotalcuts, int* ncuts, BENDERS_STATUS* status)
84 SCIP_Longint masterstallnodes, /**< stall nodes for master problem if solvemasterapprox is true */
Definition: benders.h:46
Definition: struct_scip.h:68
SCIP_RETCODE runBenders(SCIP *masterscip, BENDERS_CUTORACLE((*Oracle)), BENDERS_DATA *data, SCIP_Real timelimit, SCIP_Real memlimit, int dispfreq, SCIP_Bool usereopt, SCIP_Bool solvemasterapprox, SCIP_Longint masterstallnodes, SCIP_Real mastergaplimit, SCIP_VERBLEVEL verblevel, SCIP_STATUS *status)
Definition: benders.c:207
Definition: benders.h:49
Definition: classify.c:47
Definition: benders.h:48
Definition: benders.h:47
Definition: benders.h:44
Definition: benders.h:45
SCIP callable library.