pricer_binpacking.c File Reference Detailed DescriptionBinpacking variable pricer. This file implements the variable pricer which check if variables exist with negative reduced cost. See Pricing new variables for more details. Definition in file pricer_binpacking.c. #include <assert.h> #include <string.h> #include "scip/cons_knapsack.h" #include "scip/cons_logicor.h" #include "scip/cons_setppc.h" #include "scip/cons_varbound.h" #include "scip/scipdefplugins.h" #include "cons_samediff.h" #include "pricer_binpacking.h" #include "probdata_binpacking.h" #include "vardata_binpacking.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 92 of file pricer_binpacking.c. Referenced by SCIPincludePricerBinpacking().
Definition at line 90 of file pricer_binpacking.c. Referenced by SCIPincludePricerBinpacking().
Definition at line 89 of file pricer_binpacking.c. Referenced by SCIPincludePricerBinpacking(), and SCIPpricerBinpackingActivate().
Definition at line 91 of file pricer_binpacking.c. Referenced by SCIPincludePricerBinpacking(). Function Documentation
add branching decisions constraints to the sub SCIP
Definition at line 121 of file pricer_binpacking.c. References SCIP_PricerData::conss, DIFFER, SAME, SCIPgetItemid1Samediff(), SCIPgetItemid2Samediff(), SCIPgetTypeSamediff(), and SCIPprobdataGetIds(). Referenced by initPricing().
avoid to generate columns which are fixed to zero; therefore add for each variable which is fixed to zero a corresponding logicor constraint to forbid this column
Definition at line 217 of file pricer_binpacking.c. References SCIPvardataGetConsids(), and SCIPvardataGetNConsids(). Referenced by initPricing().
initializes the pricing problem for the given capacity
Definition at line 329 of file pricer_binpacking.c. References addBranchingDecisionConss(), addFixedVarsConss(), SCIP_PricerData::capacity, SCIP_PricerData::conss, SCIP_PricerData::nitems, and SCIP_PricerData::weights. Referenced by SCIP_DECL_PRICERREDCOST().
solving process deinitialization method of variable pricer (called before branch and bound process data is freed) Definition at line 479 of file pricer_binpacking.c.
farkas pricing method of variable pricer for infeasible LPs
Definition at line 686 of file pricer_binpacking.c.
name Callback methodsdestructor of variable pricer to free user data (called when SCIP is exiting) Definition at line 421 of file pricer_binpacking.c.
initialization method of variable pricer (called after problem was transformed) Definition at line 446 of file pricer_binpacking.c.
reduced cost pricing method of variable pricer for feasible LPs Definition at line 503 of file pricer_binpacking.c. References SCIP_PricerData::capacity, SCIP_PricerData::conss, SCIP_PricerData::ids, initPricing(), SCIP_PricerData::nitems, SCIPcreateVarBinpacking(), and SCIPvardataCreateBinpacking().
creates the binpacking variable pricer and includes it in SCIP
Definition at line 717 of file pricer_binpacking.c. References PRICER_DELAY, PRICER_DESC, PRICER_NAME, and PRICER_PRIORITY. Referenced by runShell().
added problem specific data to pricer and activates pricer
Definition at line 752 of file pricer_binpacking.c. References SCIP_PricerData::capacity, SCIP_PricerData::nitems, and PRICER_NAME. Referenced by SCIPprobdataCreate(). |