Scippy

SCIP

Solving Constraint Integer Programs

pricer_binpacking.h File Reference

Detailed Description

Binpacking variable pricer.

Author
Timo Berthold
Stefan Heinz

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
scipSCIP 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
scipSCIP data structure
conssset covering constraints for the items
weightsweight of the items
idsarray of item ids
nitemsnumber of items to be packed
capacitycapacity 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().