probdata_binpacking.c File Reference Detailed DescriptionProblem data for binpacking problem. This file handles the main problem data used in that project. For more details see Main problem data page. Definition in file probdata_binpacking.c. #include <string.h> #include "probdata_binpacking.h" #include "vardata_binpacking.h" #include "pricer_binpacking.h" #include "scip/cons_setppc.h" #include "scip/scip.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 95 of file probdata_binpacking.c. Referenced by SCIPprobdataCreate().
Definition at line 94 of file probdata_binpacking.c. Referenced by SCIP_DECL_EVENTEXEC(), and SCIPprobdataCreate(). Function Documentation
create initial columns
Definition at line 208 of file probdata_binpacking.c. References SCIP_ProbData::conss, SCIP_ProbData::ids, SCIP_ProbData::nitems, SCIPcreateVarBinpacking(), SCIPprobdataAddVar(), SCIPvardataCreateBinpacking(), and SCIP_ProbData::weights. Referenced by SCIPprobdataCreate().
creates problem data
Definition at line 131 of file probdata_binpacking.c. References SCIP_ProbData::capacity, SCIP_ProbData::nitems, and SCIP_ProbData::nvars. Referenced by SCIP_DECL_PROBTRANS(), and SCIPprobdataCreate().
frees the memory of the given problem data
Definition at line 172 of file probdata_binpacking.c. Referenced by SCIP_DECL_PROBDELORIG(), and SCIP_DECL_PROBDELTRANS().
execution method of event handler Definition at line 106 of file probdata_binpacking.c. References EVENTHDLR_NAME, and SCIPprobdataAddVar().
frees user data of original problem (called when the original problem is freed) Definition at line 281 of file probdata_binpacking.c. References probdataFree().
frees user data of transformed problem (called when the transformed problem is freed) Definition at line 310 of file probdata_binpacking.c. References probdataFree().
solving process deinitialization method of transformed data (called before the branch and bound data is freed) Definition at line 338 of file probdata_binpacking.c.
solving process initialization method of transformed data (called before the branch and bound process begins) Definition at line 321 of file probdata_binpacking.c.
creates user data of transformed problem by transforming the original user problem data (called after problem was transformed) Definition at line 293 of file probdata_binpacking.c. References probdataCreate().
adds given variable to the problem data
Definition at line 487 of file probdata_binpacking.c. Referenced by createInitialColumns(), and SCIP_DECL_EVENTEXEC().
sets up the problem data
Definition at line 363 of file probdata_binpacking.c. References SCIP_ProbData::conss, createInitialColumns(), EVENTHDLR_DESC, EVENTHDLR_NAME, SCIP_ProbData::nitems, probdataCreate(), and SCIPpricerBinpackingActivate(). Referenced by SCIP_DECL_READERREAD().
returns bin capacity
Definition at line 455 of file probdata_binpacking.c.
returns array of set partitioning constrains
Definition at line 479 of file probdata_binpacking.c.
returns array of item ids
Definition at line 431 of file probdata_binpacking.c. Referenced by addBranchingDecisionConss(), consdataPrint(), SCIP_DECL_BRANCHEXECLP(), and SCIPvardataPrint().
returns number of items
Definition at line 447 of file probdata_binpacking.c. Referenced by SCIP_DECL_BRANCHEXECLP().
returns number of variables
Definition at line 471 of file probdata_binpacking.c. Referenced by consdataCheck(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPROP().
returns array of all variables itemed in the way they got generated
Definition at line 463 of file probdata_binpacking.c. Referenced by consdataCheck(), and SCIP_DECL_CONSPROP().
returns array of item weights
Definition at line 439 of file probdata_binpacking.c. |