GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
pub_pricingjob.h
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 pub_pricingjob.h
30 * @ingroup PUBLICCOREAPI
31 * @brief public methods for working with pricing jobs
32 * @author Christian Puchert
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36#ifndef GCG_PUB_PRICINGJOB_H__
37#define GCG_PUB_PRICINGJOB_H__
38
39
40#include "gcg/type_pricingjob.h"
41#include "scip/type_scip.h"
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47/*
48 * GCG Pricing Job
49 */
50
51/**
52 * @ingroup PRICINGJOB
53 *
54 * @{
55 */
56
57
58/** get the pricing problem structure associated with a pricing job */
61 GCG_PRICINGJOB* pricingjob /**< pricing job */
62 );
63
64/** get the pricing solver with which the pricing job is to be performed */
67 GCG_PRICINGJOB* pricingjob /**< pricing job */
68 );
69
70/** get the chunk of a pricing job */
73 GCG_PRICINGJOB* pricingjob /**< pricing job */
74 );
75
76/** get the score of a pricing job */
79 GCG_PRICINGJOB* pricingjob /**< pricing job */
80 );
81
82/** return whether the pricing job is to be performed heuristically */
85 GCG_PRICINGJOB* pricingjob /**< pricing job */
86 );
87
88/** get the number of heuristic pricing iterations of the pricing job */
91 GCG_PRICINGJOB* pricingjob /**< pricing job */
92 );
93
94/** returns TRUE iff the solver was changed after the last solver call */
97 GCG_PRICINGJOB* pricingjob /**< pricing job */
98 );
99
100/** inform the pricing job that the current solver was called */
103 GCG_PRICINGJOB* pricingjob /**< pricing job */
104 );
105
106/**@} */
107#ifdef __cplusplus
108}
109#endif
110#endif
#define GCG_EXPORT
Definition def.h:59
#define SCIP_Bool
#define SCIP_Real
GCG_PRICINGPROB * GCGpricingjobGetPricingprob(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:135
SCIP_Bool GCGpricingjobSolverChanged(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:216
void GCGpricingjobSolverCalled(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:224
GCG_SOLVER * GCGpricingjobGetSolver(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:142
SCIP_Real GCGpricingjobGetScore(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:240
SCIP_Bool GCGpricingjobIsHeuristic(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:248
int GCGpricingjobGetNHeurIters(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:285
SCIP_Real GCGpricingjobGetChunk(GCG_PRICINGJOB *pricingjob)
Definition pricingjob.c:232
type definitions for pricing job data structure
struct GCG_PricingJob GCG_PRICINGJOB
struct GCG_PricingProb GCG_PRICINGPROB
struct GCG_Solver GCG_SOLVER
Definition type_solver.h:51