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

SCIP_RETCODE SCIPincludePricerBinpacking ( SCIP *  scip)

creates the binpacking variable pricer and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 717 of file pricer_binpacking.c.

References PRICER_DELAY, PRICER_DESC, PRICER_NAME, and PRICER_PRIORITY.

Referenced by runShell().

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 752 of file pricer_binpacking.c.

References SCIP_PricerData::capacity, SCIP_PricerData::nitems, and PRICER_NAME.

Referenced by SCIPprobdataCreate().