benders.h
Go to the documentation of this file.
20 * Run Benders algorithm using an oracle for solving the subproblems and solving the master problem to optimality.
37 BENDERS_STATUS_SUCESS = 2, /**< the solution is optimal, no further Benders cut has to be generated */
39 BENDERS_STATUS_USERINTERRUPT = 4, /**< the user has interrupted the solution of the subproblem */
59 * The oracle should take the given solution and possibly add a Benders Cut to the master problem.
61 #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)
76 SCIP_Longint masterstallnodes, /**< stall nodes for master problem if solvemasterapprox is true */
Definition: benders.h:37
Definition: struct_scip.h:58
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:198
Definition: benders.h:40
Definition: classify.c:38
Definition: benders.h:39
Definition: benders.h:38
Definition: benders.h:35
Definition: benders.h:36
SCIP callable library.