GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
solver.c
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
4/* GCG --- Generic Column Generation */
5/* a Dantzig-Wolfe decomposition based extension */
6/* of the branch-cut-and-price framework */
7/* SCIP --- Solving Constraint Integer Programs */
8/* */
9/* Copyright (C) 2010-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file solver.c
30 * @brief methods for GCG pricing solvers
31 * @author Henri Lotze
32 * @author Christian Puchert
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37#include "gcg/pub_solver.h"
38#include "gcg/solver.h"
39#include "gcg/struct_solver.h"
40
41#include "gcg/gcg.h"
42#include "gcg/pricer_gcg.h"
43
44#include <string.h>
45
46#ifdef _OPENMP
47#include <omp.h>
48#endif
49
50
51/** compares two solvers w. r. t. their priorities */
53{ /*lint --e{715}*/
54 GCG_SOLVER* solver1 = (GCG_SOLVER*) elem1;
55 GCG_SOLVER* solver2 = (GCG_SOLVER*) elem2;
56
57 assert(solver1 != NULL);
58 assert(solver2 != NULL);
59
60 return solver2->priority - solver1->priority; /* prefer higher priorities */
61}
62
63/** creates a GCG pricing solver */
65 GCG* gcg, /**< GCG data structure */
66 GCG_SOLVER** solver, /**< pointer to pricing solver data structure */
67 const char* name, /**< name of solver */
68 const char* desc, /**< description of solver */
69 int priority, /**< priority of solver */
70 SCIP_Bool heurenabled, /**< flag to indicate whether heuristic solving method of the solver is enabled */
71 SCIP_Bool exactenabled, /**< flag to indicate whether exact solving method of the solver is enabled */
72 GCG_DECL_SOLVERUPDATE((*solverupdate)), /**< update method for solver */
73 GCG_DECL_SOLVERSOLVE ((*solversolve)), /**< solving method for solver */
74 GCG_DECL_SOLVERSOLVEHEUR((*solveheur)), /**< heuristic solving method for solver */
75 GCG_DECL_SOLVERFREE ((*solverfree)), /**< free method of solver */
76 GCG_DECL_SOLVERINIT ((*solverinit)), /**< init method of solver */
77 GCG_DECL_SOLVEREXIT ((*solverexit)), /**< exit method of solver */
78 GCG_DECL_SOLVERINITSOL((*solverinitsol)), /**< initsol method of solver */
79 GCG_DECL_SOLVEREXITSOL((*solverexitsol)), /**< exitsol method of solver */
80 GCG_SOLVERDATA* solverdata /**< pricing solver data */
81 )
82{
83 char paramname[SCIP_MAXSTRLEN];
84 char paramdesc[SCIP_MAXSTRLEN];
86
87 assert(gcg != NULL);
88 assert(solver != NULL);
89
91
92 if( solveheur == NULL && solversolve == NULL )
93 {
94 SCIPwarningMessage(masterprob, "Solver <%s> has neither heuristic nor exact solving method and will not be included.\n", name);
95 return SCIP_OKAY;
96 }
97
98 SCIP_CALL( SCIPallocMemory(masterprob, solver) ); /*lint !e866*/
99
100 SCIP_ALLOC( BMSduplicateMemoryArray(&(*solver)->name, name, strlen(name)+1) );
101 SCIP_ALLOC( BMSduplicateMemoryArray(&(*solver)->desc, desc, strlen(desc)+1) );
102
103 (*solver)->solverupdate = solverupdate;
104 (*solver)->solversolve = solversolve;
105 (*solver)->solversolveheur = solveheur;
106 (*solver)->solverfree = solverfree;
107 (*solver)->solverinit = solverinit;
108 (*solver)->solverexit = solverexit;
109 (*solver)->solverinitsol = solverinitsol;
110 (*solver)->solverexitsol = solverexitsol;
111 (*solver)->solverdata = solverdata;
112
113 SCIP_CALL( SCIPcreateCPUClock(masterprob, &((*solver)->optfarkasclock)) );
114 SCIP_CALL( SCIPcreateCPUClock(masterprob, &((*solver)->optredcostclock)) );
115 SCIP_CALL( SCIPcreateCPUClock(masterprob, &((*solver)->heurfarkasclock)) );
116 SCIP_CALL( SCIPcreateCPUClock(masterprob, &((*solver)->heurredcostclock)) );
117
118 (*solver)->optfarkascalls = 0;
119 (*solver)->optredcostcalls = 0;
120 (*solver)->heurfarkascalls = 0;
121 (*solver)->heurredcostcalls = 0;
122
123 if( solveheur != NULL )
124 {
125 (void) SCIPsnprintf(paramname, SCIP_MAXSTRLEN, "pricingsolver/%s/heurenabled", name);
126 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "flag to indicate whether heuristic solving method of solver <%s> is enabled", name);
127 SCIP_CALL( SCIPaddBoolParam(GCGgetOrigprob(gcg), paramname, paramdesc,
128 &((*solver)->heurenabled), FALSE, heurenabled, NULL, NULL));
129 }
130 else
131 (*solver)->heurenabled = FALSE;
132
133 if( solversolve != NULL )
134 {
135 (void) SCIPsnprintf(paramname, SCIP_MAXSTRLEN, "pricingsolver/%s/exactenabled", name);
136 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "flag to indicate whether exact solving method of solver <%s> is enabled", name);
137 SCIP_CALL( SCIPaddBoolParam(GCGgetOrigprob(gcg), paramname, paramdesc,
138 &((*solver)->exactenabled), FALSE, exactenabled, NULL, NULL));
139 }
140 else
141 (*solver)->exactenabled = FALSE;
142
143 (void) SCIPsnprintf(paramname, SCIP_MAXSTRLEN, "pricingsolver/%s/priority", name);
144 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "priority of solver <%s>", name);
145 SCIP_CALL( SCIPaddIntParam(GCGgetOrigprob(gcg), paramname, paramdesc,
146 &((*solver)->priority), FALSE, priority, INT_MIN/4, INT_MAX/4, NULL, NULL));
147
148 return SCIP_OKAY;
149}
150
151/** calls destructor and frees memory of GCG pricing solver */
153 GCG* gcg, /**< GCG data structure */
154 GCG_SOLVER** solver /**< pointer to pricing solver data structure */
155 )
156{
158 assert(gcg != NULL);
159 assert(solver != NULL);
160 assert(*solver != NULL);
161
163
164 if( (*solver)->solverfree != NULL )
165 {
166 SCIP_CALL( (*solver)->solverfree(gcg, *solver) );
167 }
168
169 BMSfreeMemoryArray(&(*solver)->name);
170 BMSfreeMemoryArray(&(*solver)->desc);
171
172 SCIP_CALL( SCIPfreeClock(masterprob, &((*solver)->optfarkasclock)) );
173 SCIP_CALL( SCIPfreeClock(masterprob, &((*solver)->optredcostclock)) );
174 SCIP_CALL( SCIPfreeClock(masterprob, &((*solver)->heurfarkasclock)) );
175 SCIP_CALL( SCIPfreeClock(masterprob, &((*solver)->heurredcostclock)) );
176
177 SCIPfreeMemory(masterprob, solver);
178
179 return SCIP_OKAY;
180}
181
182/** initializes GCG pricing solver */
184 GCG* gcg, /**< GCG data structure */
185 GCG_SOLVER* solver /**< pricing solver */
186 )
187{
188 SCIP_Bool resetstat;
190
191 assert(gcg != NULL);
192 assert(solver != NULL);
193
194 SCIP_CALL( SCIPgetBoolParam(masterprob, "misc/resetstat", &resetstat) );
195
196 if( resetstat )
197 {
202
203 solver->optfarkascalls = 0;
204 solver->optredcostcalls = 0;
205 solver->heurfarkascalls = 0;
206 solver->heurredcostcalls = 0;
207 }
208
209 if( solver->solverinit != NULL )
210 {
211 SCIP_CALL( solver->solverinit(gcg, solver) );
212 }
213
214 return SCIP_OKAY;
215}
216
217/** calls exit method of GCG pricing solver */
219 GCG* gcg, /**< GCG data structure */
220 GCG_SOLVER* solver /**< pricing solver */
221 )
222{
223 assert(gcg != NULL);
224 assert(solver != NULL);
225
226 if( solver->solverexit != NULL )
227 {
228 SCIP_CALL( solver->solverexit(gcg, solver) );
229 }
230
231 return SCIP_OKAY;
232}
233
234/** calls solving process initialization method of GCG pricing solver */
236 GCG* gcg, /**< GCG data structure */
237 GCG_SOLVER* solver /**< pricing solver */
238 )
239{
240 assert(gcg != NULL);
241 assert(solver != NULL);
242
243 if( solver->solverinitsol != NULL )
244 {
245 SCIP_CALL( solver->solverinitsol(gcg, solver) );
246 }
247
248 return SCIP_OKAY;
249}
250
251/** calls solving process deinitialization method of GCG pricing solver */
253 GCG* gcg, /**< GCG data structure */
254 GCG_SOLVER* solver /**< pricing solver */
255 )
256{
257 assert(gcg != NULL);
258 assert(solver != NULL);
259
260 if( solver->solverexitsol != NULL )
261 {
262 SCIP_CALL( solver->solverexitsol(gcg, solver) );
263 }
264
265 return SCIP_OKAY;
266}
267
268/** calls update method of GCG pricing solver */
270 GCG* gcg, /**< GCG data structure */
271 SCIP* pricingprob, /**< the pricing problem that should be solved */
272 GCG_SOLVER* solver, /**< pricing solver */
273 int probnr, /**< number of the pricing problem */
274 SCIP_Bool varobjschanged, /**< have the objective coefficients changed? */
275 SCIP_Bool varbndschanged, /**< have the lower and upper bounds changed? */
276 SCIP_Bool consschanged /**< have the constraints changed? */
277 )
278{
279 assert(pricingprob != NULL);
280 assert(solver != NULL);
281
282 if( solver->solverupdate != NULL && (varobjschanged || varbndschanged || consschanged) )
283 {
284 SCIP_CALL( solver->solverupdate(gcg, pricingprob, solver, probnr, varobjschanged, varbndschanged, consschanged) );
285 }
286
287 return SCIP_OKAY;
288}
289
290/** calls heuristic or exact solving method of GCG pricing solver
291 * @note This method has to be threadsafe!
292 */
294 GCG* gcg, /**< GCG data structure */
295 SCIP* pricingprob, /**< the pricing problem that should be solved */
296 GCG_SOLVER* solver, /**< pricing solver */
297 SCIP_Bool redcost, /**< is reduced cost (TRUE) or Farkas (FALSE) pricing performed? */
298 SCIP_Bool heuristic, /**< shall the pricing problem be solved heuristically? */
299 int probnr, /**< number of the pricing problem */
300 SCIP_Real dualsolconv, /**< dual solution of the corresponding convexity constraint */
301 SCIP_Real* lowerbound, /**< pointer to store lower bound of pricing problem */
302 GCG_PRICINGSTATUS* status, /**< pointer to store the returned pricing status */
303 SCIP_Bool* solved /**< pointer to store whether the solution method was called */
304 )
305{
306 SCIP_CLOCK* clock;
308
309 assert(gcg != NULL);
310 assert(pricingprob != NULL);
311 assert(solver != NULL);
312 assert(lowerbound != NULL);
313 assert(status != NULL);
314
316
317 *solved = FALSE;
318
319 if( heuristic )
320 {
321 if( solver->heurenabled )
322 {
323 assert(solver->solversolveheur != NULL);
324
325 if( redcost )
326 clock = solver->heurredcostclock;
327 else
328 clock = solver->heurfarkasclock;
329
330#ifdef _OPENMP
331 if( omp_get_num_threads() == 1 )
333#else
335#endif
336
337 SCIP_CALL( solver->solversolveheur(gcg, pricingprob, solver, probnr, dualsolconv, lowerbound, status) );
338 *solved = TRUE;
339
340#ifdef _OPENMP
341 if( omp_get_num_threads() == 1 )
343#else
345#endif
346 }
347 }
348 else
349 {
350 if( solver->exactenabled )
351 {
352 assert(solver->solversolve != NULL);
353
354 if( redcost )
355 clock = solver->optredcostclock;
356 else
357 clock = solver->optfarkasclock;
358
359#ifdef _OPENMP
360 if( omp_get_num_threads() == 1 )
362#else
364#endif
365
366 SCIP_CALL( solver->solversolve(gcg, pricingprob, solver, probnr, dualsolconv, lowerbound, status) );
367 *solved = TRUE;
368
369#ifdef _OPENMP
370 if( omp_get_num_threads() == 1 )
372#else
374#endif
375 }
376 }
377
378 if( *status != GCG_PRICINGSTATUS_NOTAPPLICABLE && *solved )
379 {
380 if( redcost )
381 if( heuristic )
382 #pragma omp atomic update
383 ++solver->heurredcostcalls;
384 else
385 #pragma omp atomic update
386 ++solver->optredcostcalls;
387 else
388 if( heuristic )
389 #pragma omp atomic update
390 ++solver->heurfarkascalls;
391 else
392 #pragma omp atomic update
393 ++solver->optfarkascalls;
394 }
395
396 return SCIP_OKAY;
397}
398
399/** gets user data of GCG pricing solver */
401 GCG_SOLVER* solver /**< pricing solver */
402 )
403{
404 assert(solver != NULL);
405
406 return solver->solverdata;
407}
408
409/** sets user data of GCG pricing solver */
411 GCG_SOLVER* solver, /**< pricing solver */
412 GCG_SOLVERDATA* solverdata /**< pricing solver data */
413 )
414{
415 assert(solver != NULL);
416
417 solver->solverdata = solverdata;
418}
419
420/** gets name of GCG pricing solver */
422 GCG_SOLVER* solver /**< pricing solver */
423 )
424{
425 assert(solver != NULL);
426
427 return solver->name;
428}
429
430/** gets description of GCG pricing solver */
432 GCG_SOLVER* solver /**< pricing solver */
433 )
434{
435 assert(solver != NULL);
436
437 return solver->desc;
438}
439
440/** gets priority of GCG pricing solver */
442 GCG_SOLVER* solver /**< pricing solver */
443 )
444{
445 assert(solver != NULL);
446
447 return solver->priority;
448}
449
450/** gets whether heuristic solving method of GCG pricing solver is enabled */
452 GCG_SOLVER* solver /**< pricing solver */
453 )
454{
455 assert(solver != NULL);
456
457 return solver->heurenabled;
458}
459
460/** gets whether exact solving method of GCG pricing solver is enabled */
462 GCG_SOLVER* solver /**< pricing solver */
463 )
464{
465 assert(solver != NULL);
466
467 return solver->exactenabled;
468}
469
470/** gets number of exact Farkas pricing calls of pricing solver */
472 GCG_SOLVER* solver /**< pricing solver */
473 )
474{
475 assert(solver != NULL);
476
477 return solver->optfarkascalls;
478}
479
480/** gets number of exact reduced cost pricing calls of pricing solver */
482 GCG_SOLVER* solver /**< pricing solver */
483 )
484{
485 assert(solver != NULL);
486
487 return solver->optredcostcalls;
488}
489
490/** gets number of heuristic Farkas pricing calls of pricing solver */
492 GCG_SOLVER* solver /**< pricing solver */
493 )
494{
495 assert(solver != NULL);
496
497 return solver->heurfarkascalls;
498}
499
500/** gets number of heuristic reduced cost pricing calls of pricing solver */
502 GCG_SOLVER* solver /**< pricing solver */
503 )
504{
505 assert(solver != NULL);
506
507 return solver->heurredcostcalls;
508}
509
510/** gets exact Farkas pricing time of pricing solver */
512 GCG* gcg, /**< GCG data structure */
513 GCG_SOLVER* solver /**< pricing solver */
514 )
515{
516 assert(gcg != NULL);
517 assert(solver != NULL);
518
520}
521
522/** gets exact reduced cost pricing time of pricing solver */
524 GCG* gcg, /**< GCG data structure */
525 GCG_SOLVER* solver /**< pricing solver */
526 )
527{
528 assert(gcg != NULL);
529 assert(solver != NULL);
530
532}
533
534/** gets heuristic Farkas pricing time of pricing solver */
536 GCG* gcg, /**< GCG data structure */
537 GCG_SOLVER* solver /**< pricing solver */
538 )
539{
540 assert(gcg != NULL);
541 assert(solver != NULL);
542
544}
545
546/** gets heuristic reduced cost pricing time of pricing solver */
548 GCG* gcg, /**< GCG data structure */
549 GCG_SOLVER* solver /**< pricing solver */
550 )
551{
552 assert(gcg != NULL);
553 assert(solver != NULL);
554
556}
#define SCIP_MAXSTRLEN
#define SCIP_Bool
#define SCIP_ALLOC(x)
#define SCIP_Real
#define SCIP_CALL_ABORT(x)
#define TRUE
#define FALSE
GCG interface methods.
SCIP * GCGgetOrigprob(GCG *gcg)
Definition gcg.cpp:87
SCIP * GCGgetMasterprob(GCG *gcg)
Definition gcg.cpp:99
void SCIPwarningMessage(SCIP *scip, const char *formatstr,...)
GCG_EXPORT int GCGsolverGetPriority(GCG_SOLVER *solver)
Definition solver.c:441
GCG_EXPORT const char * GCGsolverGetDesc(GCG_SOLVER *solver)
Definition solver.c:431
GCG_EXPORT SCIP_Bool GCGsolverIsHeurEnabled(GCG_SOLVER *solver)
Definition solver.c:451
GCG_EXPORT int GCGsolverGetOptRedcostCalls(GCG_SOLVER *solver)
Definition solver.c:481
GCG_EXPORT SCIP_Real GCGsolverGetOptFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:511
GCG_EXPORT int GCGsolverGetHeurFarkasCalls(GCG_SOLVER *solver)
Definition solver.c:491
GCG_EXPORT int GCGsolverGetHeurRedcostCalls(GCG_SOLVER *solver)
Definition solver.c:501
GCG_EXPORT SCIP_Real GCGsolverGetHeurFarkasTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:535
GCG_EXPORT SCIP_Real GCGsolverGetHeurRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:547
GCG_EXPORT int GCGsolverGetOptFarkasCalls(GCG_SOLVER *solver)
Definition solver.c:471
GCG_EXPORT SCIP_Real GCGsolverGetOptRedcostTime(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:523
GCG_EXPORT SCIP_Bool GCGsolverIsExactEnabled(GCG_SOLVER *solver)
Definition solver.c:461
GCG_EXPORT const char * GCGsolverGetName(GCG_SOLVER *solver)
Definition solver.c:421
GCG_EXPORT GCG_SOLVERDATA * GCGsolverGetData(GCG_SOLVER *solver)
Definition solver.c:400
GCG_EXPORT void GCGsolverSetData(GCG_SOLVER *solver, GCG_SOLVERDATA *solverdata)
Definition solver.c:410
SCIP_RETCODE SCIPgetBoolParam(SCIP *scip, const char *name, SCIP_Bool *value)
SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_DECL_SORTPTRCOMP(SCIPbendersComp)
#define SCIPallocMemory(scip, ptr)
SCIP_RETCODE SCIPresetClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPcreateCPUClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_RETCODE SCIPstopClock(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPfreeClock(SCIP *scip, SCIP_CLOCK **clck)
SCIP_Real SCIPgetClockTime(SCIP *scip, SCIP_CLOCK *clck)
SCIP_RETCODE SCIPstartClock(SCIP *scip, SCIP_CLOCK *clck)
int SCIPsnprintf(char *t, int len, const char *s,...)
SCIPfreeMemory(GCGgetOrigprob(gcg), &divingdata)
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
#define NULL
#define BMSduplicateMemoryArray(ptr, source, num)
#define BMSfreeMemoryArray(ptr)
GCG variable pricer.
SCIP_RETCODE GCGsolverFree(GCG *gcg, GCG_SOLVER **solver)
Definition solver.c:152
SCIP_RETCODE GCGsolverCreate(GCG *gcg, GCG_SOLVER **solver, const char *name, const char *desc, int priority, SCIP_Bool heurenabled, SCIP_Bool exactenabled, GCG_DECL_SOLVERUPDATE((*solverupdate)), GCG_DECL_SOLVERSOLVE((*solversolve)), GCG_DECL_SOLVERSOLVEHEUR((*solveheur)), GCG_DECL_SOLVERFREE((*solverfree)), GCG_DECL_SOLVERINIT((*solverinit)), GCG_DECL_SOLVEREXIT((*solverexit)), GCG_DECL_SOLVERINITSOL((*solverinitsol)), GCG_DECL_SOLVEREXITSOL((*solverexitsol)), GCG_SOLVERDATA *solverdata)
Definition solver.c:64
SCIP_RETCODE GCGsolverSolve(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, SCIP_Bool redcost, SCIP_Bool heuristic, int probnr, SCIP_Real dualsolconv, SCIP_Real *lowerbound, GCG_PRICINGSTATUS *status, SCIP_Bool *solved)
Definition solver.c:293
SCIP_RETCODE GCGsolverInit(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:183
SCIP_RETCODE GCGsolverExitsol(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:252
SCIP_RETCODE GCGsolverUpdate(GCG *gcg, SCIP *pricingprob, GCG_SOLVER *solver, int probnr, SCIP_Bool varobjschanged, SCIP_Bool varbndschanged, SCIP_Bool consschanged)
Definition solver.c:269
SCIP_RETCODE GCGsolverExit(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:218
SCIP_RETCODE GCGsolverInitsol(GCG *gcg, GCG_SOLVER *solver)
Definition solver.c:235
public methods for GCG pricing solvers
SCIP_CLOCK * optfarkasclock
int heurredcostcalls
SCIP_CLOCK * heurredcostclock
SCIP_Bool heurenabled
SCIP_CLOCK * optredcostclock
int heurfarkascalls
SCIP_CLOCK * heurfarkasclock
GCG_SOLVERDATA * solverdata
int optredcostcalls
SCIP_Bool exactenabled
data structures for solvers
struct SCIP_Clock SCIP_CLOCK
struct Gcg GCG
Definition type_gcg.h:44
enum GCG_PricingStatus GCG_PRICINGSTATUS
@ GCG_PRICINGSTATUS_NOTAPPLICABLE
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct GCG_Solver GCG_SOLVER
Definition type_solver.h:51
#define GCG_DECL_SOLVERFREE(x)
Definition type_solver.h:60
#define GCG_DECL_SOLVERUPDATE(x)
#define GCG_DECL_SOLVEREXITSOL(x)
Definition type_solver.h:98
#define GCG_DECL_SOLVERINITSOL(x)
Definition type_solver.h:87
#define GCG_DECL_SOLVERSOLVE(x)
#define GCG_DECL_SOLVERINIT(x)
Definition type_solver.h:68
#define GCG_DECL_SOLVEREXIT(x)
Definition type_solver.h:76
#define GCG_DECL_SOLVERSOLVEHEUR(x)
struct GCG_SolverData GCG_SOLVERDATA
Definition type_solver.h:50