Loading...
Searching...
No Matches
mastersepacut.c
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
192 SCIP_CALL( GCGvarhistoryCopyReference(masterscip, &(mastersepacut->knownvarhistory), GCGgetCurrentVarhistoryReference(gcg)) );
203 assert(GCGextendedmasterconsGetType(extendedmasterconsdata) == GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW);
211 GCG_EXTENDEDMASTERCONSDATA** extendedmastercons, /**< pointer to store the create extended master cons data */
222 SCIP_CALL( GCGextendedmasterconsCreateFromRow(gcg, extendedmastercons, GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW, row, pricingmodifications, npricingmodifications, cut) );
237 GCG_SEPA* sepa = GCGmastersepacutGetSeparator(GCGextendedmasterconsGetMastersepacut(mastersepacut));
#define SCIP_Real
SCIP_RETCODE GCGextendedmasterconsFree(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata)
Definition extendedmasterconsdata.c:274
GCG_EXTENDEDMASTERCONSTYPE GCGextendedmasterconsGetType(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition extendedmasterconsdata.c:850
SCIP_RETCODE GCGextendedmasterconsCreateFromRow(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata, GCG_EXTENDEDMASTERCONSTYPE type, SCIP_ROW *row, GCG_PRICINGMODIFICATION **pricingmodifications, int npricingmodifications, GCG_MASTERSEPACUT *data)
Definition extendedmasterconsdata.c:209
GCG interface methods.
SCIP_RETCODE GCGvarhistoryFreeReference(SCIP *scip, GCG_VARHISTORY **pointer)
Definition gcgvarhistory.c:358
SCIP_RETCODE GCGvarhistoryCopyReference(SCIP *scip, GCG_VARHISTORY **pointer, GCG_VARHISTORY *source)
Definition gcgvarhistory.c:337
methods for managing variable history
GCG_VARHISTORY * GCGgetCurrentVarhistoryReference(GCG *gcg)
Definition pricer_gcg.cpp:6800
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPallocBlockMemory(scip, ptr)
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
SCIPdebugMessage("feasibility pump finished [%d iterations done].\n", nloops)
#define NULL
SCIP_RETCODE GCGmastersepacutGetExtendedmasterconsCoeff(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastersepacut, SCIP_VAR **solvars, SCIP_Real *solvals, int nsolvars, int probnr, GCG_COL *gcgcol, SCIP_Real *coef)
Definition mastersepacut.c:226
SCIP_RETCODE GCGmastersepacutSetVarHistory(GCG *gcg, GCG_MASTERSEPACUT *mastersepacut)
Definition mastersepacut.c:182
SCIP_RETCODE GCGcaptureMastersepacut(GCG_EXTENDEDMASTERCONSDATA *mastersepacut)
Definition mastersepacut.c:86
GCG_MASTERSEPACUTDATA * GCGmastersepacutGetData(GCG_MASTERSEPACUT *mastersepacut)
Definition mastersepacut.c:172
GCG_MASTERSEPACUT * GCGextendedmasterconsGetMastersepacut(GCG_EXTENDEDMASTERCONSDATA *extendedmasterconsdata)
Definition mastersepacut.c:198
GCG_SEPA * GCGmastersepacutGetSeparator(GCG_MASTERSEPACUT *mastersepacut)
Definition mastersepacut.c:162
GCG_VARHISTORY * GCGmastersepacutGetVarHistory(GCG_MASTERSEPACUT *mastersepacut)
Definition mastersepacut.c:151
SCIP_RETCODE GCGextendedmasterconsCreateForSepamastercut(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **extendedmastercons, GCG_MASTERSEPACUT *cut, SCIP_ROW *row, GCG_PRICINGMODIFICATION **pricingmodifications, int npricingmodifications)
Definition mastersepacut.c:209
SCIP_RETCODE GCGcreateMastersepacut(GCG *gcg, GCG_MASTERSEPACUT **mastersepacut, GCG_SEPA *sepa, GCG_VARHISTORY *varhistory, GCG_MASTERSEPACUTDATA *mastersepacutdata)
Definition mastersepacut.c:129
static SCIP_RETCODE freeMastersepacut(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA *mastersepacut)
Definition mastersepacut.c:50
SCIP_RETCODE GCGreleaseMastersepacut(GCG *gcg, GCG_EXTENDEDMASTERCONSDATA **mastersepacut)
Definition mastersepacut.c:102
Definition class_conspartition.cpp:44
GCG variable pricer.
union GCG_ExtendedMasterConsData::@024042065043014123321060033365217130255177274116 data
GCG_VARHISTORY * knownvarhistory
Definition struct_mastersepacut.h:56
data structures for GCG extended master cons data
data structure to store columns (solutions from a pricing problem)
data structures for separators for master
@ GCG_EXTENDEDMASTERCONSTYPE_SEPA_ROW
Definition type_extendedmasterconsdata.h:50
struct GCG_ExtendedMasterConsData GCG_EXTENDEDMASTERCONSDATA
Definition type_extendedmasterconsdata.h:57
struct GCG_PricingModification GCG_PRICINGMODIFICATION
Definition type_extendedmasterconsdata.h:56
struct SCIP_Row SCIP_ROW
struct GCG_MastersepacutData GCG_MASTERSEPACUTDATA
Definition type_mastersepacut.h:46
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct SCIP_Var SCIP_VAR