/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ /* a Dantzig-Wolfe decomposition based extension */ /* of the branch-cut-and-price framework */ /* SCIP --- Solving Constraint Integer Programs */ /* */ /* Copyright (C) 2010-2022 Operations Research, RWTH Aachen University */ /* Zuse Institute Berlin (ZIB) */ /* */ /* This program is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public License */ /* as published by the Free Software Foundation; either version 3 */ /* of the License, or (at your option) any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU Lesser General Public License for more details. */ /* */ /* You should have received a copy of the GNU Lesser General Public License */ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.*/ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /**@file pub_pricingjob.h * @ingroup PUBLICCOREAPI * @brief public methods for working with pricing jobs * @author Christian Puchert */ /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ #ifndef GCG_PUB_PRICINGJOB_H__ #define GCG_PUB_PRICINGJOB_H__ #include "type_pricingjob.h" #include "scip/type_scip.h" #ifdef __cplusplus extern "C" { #endif /* * GCG Pricing Job */ /** * @ingroup PRICINGJOB * * @{ */ /** get the pricing problem structure associated with a pricing job */ SCIP_EXPORT GCG_PRICINGPROB* GCGpricingjobGetPricingprob( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /** get the pricing solver with which the pricing job is to be performed */ SCIP_EXPORT GCG_SOLVER* GCGpricingjobGetSolver( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /** get the chunk of a pricing job */ SCIP_EXPORT SCIP_Real GCGpricingjobGetChunk( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /** get the score of a pricing job */ SCIP_EXPORT SCIP_Real GCGpricingjobGetScore( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /** return whether the pricing job is to be performed heuristically */ SCIP_EXPORT SCIP_Bool GCGpricingjobIsHeuristic( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /** get the number of heuristic pricing iterations of the pricing job */ SCIP_EXPORT int GCGpricingjobGetNHeurIters( GCG_PRICINGJOB* pricingjob /**< pricing job */ ); /**@} */ #ifdef __cplusplus } #endif #endif