Detailed Description
Binpacking variable pricer.
This file implements the variable pricer which check if variables exist with negative reduced cost. See for more details Pricing new variables.
Definition in file pricer_binpacking.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludePricerBinpacking (SCIP *scip) |
SCIP_RETCODE | SCIPpricerBinpackingActivate (SCIP *scip, SCIP_CONS **conss, SCIP_Longint *weights, int *ids, int nitems, SCIP_Longint capacity) |
Function Documentation
◆ SCIPincludePricerBinpacking()
SCIP_RETCODE SCIPincludePricerBinpacking | ( | SCIP * | scip | ) |
creates the binpacking variable pricer and includes it in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 716 of file pricer_binpacking.c.
References NULL, PRICER_DELAY, PRICER_DESC, PRICER_NAME, PRICER_PRIORITY, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPfindConshdlr(), SCIPincludePricerBasic(), SCIPsetPricerExitsol(), SCIPsetPricerFree(), and SCIPsetPricerInit().
Referenced by runShell().
◆ SCIPpricerBinpackingActivate()
SCIP_RETCODE SCIPpricerBinpackingActivate | ( | SCIP * | scip, |
SCIP_CONS ** | conss, | ||
SCIP_Longint * | weights, | ||
int * | ids, | ||
int | nitems, | ||
SCIP_Longint | capacity | ||
) |
added problem specific data to pricer and activates pricer
- Parameters
-
scip SCIP data structure conss set covering constraints for the items weights weight of the items ids array of item ids nitems number of items to be packed capacity capacity of the bins
Definition at line 751 of file pricer_binpacking.c.
References NULL, PRICER_NAME, SCIP_CALL, SCIP_LONGINT_FORMAT, SCIP_OKAY, SCIPactivatePricer(), SCIPcaptureCons(), SCIPdebugMsg, SCIPdebugMsgPrint, SCIPduplicateBlockMemoryArray, SCIPfindPricer(), and SCIPpricerGetData().
Referenced by SCIPprobdataCreate().