All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pricer.h File Reference Detailed Descriptioninternal methods for variable pricers Definition in file pricer.h. #include "scip/def.h" #include "blockmemshell/memory.h" #include "scip/type_retcode.h" #include "scip/type_result.h" #include "scip/type_set.h" #include "scip/type_lp.h" #include "scip/type_prob.h" #include "scip/type_pricestore.h" #include "scip/type_pricer.h" #include "scip/pub_pricer.h" Go to the source code of this file. Function Documentation
copies the given pricer to a new scip
Definition at line 77 of file pricer.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPpricerGetName(). Referenced by SCIPsetCopyPlugins().
creates a variable pricer creates a variable pricer To use the variable pricer for solving a problem, it first has to be activated with a call to SCIPactivatePricer().
Definition at line 99 of file pricer.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, paramname, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPclockCreate(), SCIPsetAddIntParam(), and SCIPsnprintf(). Referenced by SCIPincludePricer(), and SCIPincludePricerBasic().
calls destructor and frees memory of variable pricer
Definition at line 160 of file pricer.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree(). Referenced by SCIPsetFree().
initializes variable pricer
Definition at line 186 of file pricer.c. References SCIP_Pricer::active, SCIP_Pricer::initialized, SCIP_Pricer::name, SCIP_Pricer::ncalls, NULL, SCIP_Pricer::nvarsfound, SCIP_Pricer::pricerclock, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Pricer::setuptime, and TRUE. Referenced by SCIPsetInitPlugins().
calls exit method of variable pricer
Definition at line 226 of file pricer.c. References SCIP_Pricer::active, FALSE, SCIP_Pricer::initialized, SCIP_Pricer::name, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Pricer::setuptime. Referenced by SCIPsetExitPlugins().
informs variable pricer that the branch and bound process is being started
Definition at line 257 of file pricer.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Pricer::setuptime. Referenced by SCIPsetInitsolPlugins().
informs variable pricer that the branch and bound process data is being freed
Definition at line 281 of file pricer.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Pricer::setuptime. Referenced by SCIPsetExitsolPlugins().
activates pricer such that it is called in LP solving loop
Definition at line 305 of file pricer.c. References SCIP_Pricer::active, FALSE, NULL, SCIP_OKAY, SCIP_STAGE_PROBLEM, and TRUE. Referenced by SCIPactivatePricer().
deactivates pricer such that it is no longer called in LP solving loop
Definition at line 325 of file pricer.c. References SCIP_Pricer::active, FALSE, NULL, SCIP_OKAY, and SCIP_STAGE_PROBLEM. Referenced by SCIPdeactivatePricer(), and SCIPfreeProb().
calls reduced cost pricing method of variable pricer
Definition at line 345 of file pricer.c. References SCIP_Pricer::active, SCIP_Pricer::name, SCIP_Pricer::ncalls, NULL, SCIP_Prob::nvars, SCIP_Pricer::nvarsfound, SCIP_Pricer::pricerclock, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIPdebugMessage. Referenced by SCIPpricerExec().
calls Farkas pricing method of variable pricer
Definition at line 385 of file pricer.c. References SCIP_Pricer::active, SCIP_Pricer::name, SCIP_Pricer::ncalls, NULL, SCIP_Prob::nvars, SCIP_Pricer::nvarsfound, SCIP_Pricer::pricerclock, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIPdebugMessage. Referenced by SCIPpricerExec().
depending on the LP's solution status, calls reduced cost or Farkas pricing method of variable pricer
Definition at line 423 of file pricer.c. References SCIP_Pricer::delay, FALSE, NULL, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_OKAY, SCIP_SUCCESS, SCIPlpGetSolstat(), SCIPpricerFarkas(), SCIPpricerRedcost(), SCIPpricestoreGetNVars(), and SCIPsetInfinity(). Referenced by SCIPpriceLoop().
sets priority of variable pricer
Definition at line 579 of file pricer.c. References FALSE, NULL, and SCIP_Pricer::priority. Referenced by SCIPsetPricerPriority().
sets copy callback of pricer
Definition at line 483 of file pricer.c. References NULL. Referenced by SCIPsetPricerCopy().
sets destructor callback of pricer
Definition at line 494 of file pricer.c. References NULL. Referenced by SCIPsetPricerFree().
sets initialization callback of pricer
Definition at line 505 of file pricer.c. References NULL. Referenced by SCIPsetPricerInit().
sets deinitialization callback of pricer
Definition at line 516 of file pricer.c. References NULL. Referenced by SCIPsetPricerExit().
sets solving process initialization callback of pricer
Definition at line 527 of file pricer.c. References NULL. Referenced by SCIPsetPricerInitsol().
sets solving process deinitialization callback of pricer
Definition at line 538 of file pricer.c. References NULL. Referenced by SCIPsetPricerExitsol(). |