gcg.h File Reference

Detailed Description

GCG interface methods.

Author
Martin Bergner

Definition in file gcg.h.

#include "scip/scip.h"
#include "type_branchgcg.h"
#include "type_decomp.h"
#include "type_detector.h"
#include "type_solver.h"
#include "pub_gcgvar.h"
#include "pub_decomp.h"

Go to the source code of this file.

Functions

SCIP_Bool GCGisOriginal (SCIP *scip)
 
SCIP_Bool GCGisMaster (SCIP *scip)
 
SCIP_RETCODE GCGprintStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintCompleteDetectionStatistics (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintInstanceName (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintMiplibStructureInformation (SCIP *scip, SCIP_DIALOGHDLR *dialoghdlr)
 
SCIP_RETCODE GCGprintBlockcandidateInformation (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintCompleteDetectionTime (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintClassifierInformation (SCIP *scip, FILE *file)
 
SCIP_RETCODE GCGprintDecompInformation (SCIP *scip, FILE *file)
 
SCIP_Real GCGgetPricingprobsMemUsed (SCIP *scip)
 
void GCGprintDegeneracy (SCIP *scip, double degeneracy)
 
SCIP_Real GCGgetDegeneracy (SCIP *scip)
 
void GCGtransformOrigvalsToMastervals (SCIP *scip, SCIP_VAR **origvars, SCIP_Real *origvals, int norigvars, SCIP_VAR **mastervars, SCIP_Real *mastervals, int nmastervars)
 
SCIP_RETCODE GCGtransformMastersolToOrigsol (SCIP *scip, SCIP_SOL *mastersol, SCIP_SOL **origsol)
 
SCIP_Bool GCGisConsGCGCons (SCIP_CONS *cons)
 
SCIP * GCGgetOriginalprob (SCIP *masterprob)
 
SCIP * GCGgetMasterprob (SCIP *scip)
 
SCIP * GCGgetPricingprob (SCIP *scip, int pricingprobnr)
 
int GCGgetNPricingprobs (SCIP *scip)
 
SCIP_Bool GCGisPricingprobRelevant (SCIP *scip, int pricingprobnr)
 
int GCGgetBlockRepresentative (SCIP *scip, int pricingprobnr)
 
int GCGgetNRelPricingprobs (SCIP *scip)
 
int GCGgetNIdenticalBlocks (SCIP *scip, int pricingprobnr)
 
int GCGgetNMasterConss (SCIP *scip)
 
SCIP_CONS ** GCGgetMasterConss (SCIP *scip)
 
SCIP_CONS ** GCGgetOrigMasterConss (SCIP *scip)
 
SCIP_CONS ** GCGgetLinearOrigMasterConss (SCIP *scip)
 
SCIP_CONS * GCGgetConvCons (SCIP *scip, int blocknr)
 
SCIP_Bool GCGisMasterSetCovering (SCIP *scip)
 
SCIP_Bool GCGisMasterSetPartitioning (SCIP *scip)
 
SCIP_RETCODE GCGsetStructDecdecomp (SCIP *scip, DEC_DECOMP *decdecomp)
 
SCIP_RETCODE GCGsetFilename (SCIP *scip, const char *filename)
 
DEC_DECOMPGCGgetStructDecdecomp (SCIP *scip)
 
const char * GCGgetFilename (SCIP *scip)
 
SCIP_Bool GCGrelaxIsInitialized (SCIP *scip)
 
SCIP_CONS ** GCGgetVarLinkingconss (SCIP *scip)
 
int * GCGgetVarLinkingconssBlock (SCIP *scip)
 
int GCGgetNVarLinkingconss (SCIP *scip)
 
int GCGgetNLinkingvars (SCIP *scip)
 
int GCGgetNTransvars (SCIP *scip)
 
SCIP_VAR * GCGgetAuxiliaryVariable (SCIP *scip, int pricingprobnr)
 
SCIP_SOL * GCGgetBendersRelaxationSol (SCIP *scip)
 

Function Documentation

SCIP_VAR* GCGgetAuxiliaryVariable ( SCIP *  scip,
int  pricingprobnr 
)

returns the auxiliary variable for the given pricing probblem

Parameters
scipSCIP data structure
pricingprobnrnumber of the pricing problem
SCIP_SOL* GCGgetBendersRelaxationSol ( SCIP *  scip)

returns the relaxation solution from the Benders' decomposition

Parameters
scipSCIP data structure

Definition at line 5052 of file relax_gcg.c.

References GCGgetDecompositionMode(), RELAX_NAME, and SCIPbendersGetRelaxSol().

Referenced by GCGgetNTransvars(), and GCGtransformMastersolToOrigsol().

int GCGgetBlockRepresentative ( SCIP *  scip,
int  pricingprobnr 
)

for a given block, return the block by which it is represented

Parameters
scipSCIP data structure
pricingprobnrnumber of the pricing problem

Definition at line 3941 of file relax_gcg.c.

References GCGgetNIdenticalBlocks(), and RELAX_NAME.

Referenced by compareExtremePointsToRelaxSol(), countExtremePoints(), fixVariables(), GCGbranchGenericInitbranch(), GCGisPricingprobRelevant(), GCGmasterTransOrigSolToMasterVars(), selectExtremePoints(), and selectExtremePointsRandomized().

SCIP_CONS* GCGgetConvCons ( SCIP *  scip,
int  blocknr 
)

returns the convexity constraint for the given block

Parameters
scipSCIP data structure
blocknrthe number of the block for which we need the convexity constraint

Definition at line 4070 of file relax_gcg.c.

References GCGrelaxGetCurrentOrigSol(), SCIP_RelaxData::npricingprobs, and RELAX_NAME.

Referenced by ObjPricerGcg::addArtificialVars(), gcg::Stabilization::convGetDual(), ObjPricerGcg::createNewMasterVar(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGgetLinearOrigMasterConss(), ObjPricerGcg::getConvconsDualsol(), ObjPricerGcg::getDualconvsum(), and ObjPricerGcg::setPricingObjs().

SCIP_Real GCGgetDegeneracy ( SCIP *  scip)

returns the average degeneracy

Parameters
scipSCIP data structure

Definition at line 4930 of file relax_gcg.c.

References GCGgetVarLinkingconss(), GCGmasterGetDegeneracy(), and RELAX_NAME.

Referenced by GCGrelaxIsInitialized(), and SCIP_DECL_DISPOUTPUT().

const char* GCGgetFilename ( SCIP *  scip)

sets the filename information

gets the filename information if exists

Parameters
scipSCIP data structure

Definition at line 4850 of file relax_gcg.c.

References GCGgetPricingprobsMemUsed(), and RELAX_NAME.

Referenced by GCGgetStructDecdecomp(), GCGprintInstanceName(), GCGprintMiplibBaseInformation(), GCGprintMiplibConnectedInformation(), and SCIP_DECL_READERWRITE().

SCIP_CONS** GCGgetLinearOrigMasterConss ( SCIP *  scip)

returns the linear counterpart of the contraints in the original problem that correspond to the constraints in the master problem

Parameters
scipSCIP data structure

Definition at line 4051 of file relax_gcg.c.

References GCGgetConvCons(), and RELAX_NAME.

Referenced by createGraph(), GCGgetOrigMasterConss(), ObjPricerGcg::getStabilizedDualObjectiveValue(), ObjPricerGcg::setPricingObjs(), setuparrays(), and gcg::Stabilization::updateAlpha().

SCIP_CONS** GCGgetMasterConss ( SCIP *  scip)
SCIP* GCGgetMasterprob ( SCIP *  scip)

returns the master problem

Parameters
scipSCIP data structure

Definition at line 3838 of file relax_gcg.c.

References GCGgetPricingprob(), and RELAX_NAME.

Referenced by applyOriginalBranching(), applyProbing(), branchDirectlyOnMastervar(), branchExtern(), branchVar(), calcMasterPscosts(), calcPscostDownMaster(), calcPscostUpMaster(), ChooseSeparateMethod(), compareExtremePointsToRelaxSol(), computeAlpha(), countExtremePoints(), createBranchNodesInOrigprob(), createChildNodesGeneric(), createChildNodesRyanfoster(), createOrigbranchConstraint(), execRelpsprob(), Explore(), fixVariables(), GCG_DECL_BRANCHDATADELETE(), GCG_DECL_BRANCHMASTERSOLVED(), GCG_DECL_DIVINGINITEXEC(), GCGgetOriginalprob(), GCGincludeDivingHeurOrig(), GCGprintDecompStatistics(), GCGprintMiplibBaseInformation(), GCGprintMiplibBaseInformationHeader(), GCGprintMiplibConnectedInformation(), GCGprintMiplibDecompInformation(), GCGprintMiplibStructureInformation(), GCGprintStatistics(), GCGrelaxBranchDataDelete(), GCGrelaxNewProbingnodeOrig(), GCGrelaxUpdateCurrentSol(), GCGtransformMastersolToOrigsol(), getMasterDownFrac(), getMasterDownScore(), getMasterUpFrac(), getMasterUpScore(), getNLocksDown(), getNLocksUp(), getRootRelaxSol(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIPincludeEventHdlrOrigdiving(), SCIPprocessGCGShellArguments(), selectExtremePoints(), selectExtremePointsRandomized(), Separate(), setSeparatorsAggressive(), setSeparatorsDefault(), setSeparatorsFast(), and setSeparatorsOff().

int GCGgetNIdenticalBlocks ( SCIP *  scip,
int  pricingprobnr 
)

returns the number of blocks in the original formulation, that are represented by the pricingprob with the given number

Parameters
scipSCIP data structure
pricingprobnrnumber of the pricing problem

Definition at line 3966 of file relax_gcg.c.

References GCGgetNMasterConss(), SCIP_RelaxData::npricingprobs, and RELAX_NAME.

Referenced by addPPObjConss(), branchExtern(), gcg::Pricingcontroller::collectResults(), gcg::Stabilization::convGetDual(), createChildNodesGeneric(), GCGcolComputeDualObjPara(), GCGgetBlockRepresentative(), GCGprintDecompStatistics(), GCGsepaBasisAddPricingCut(), getBestMastervar(), ObjPricerGcg::getDualconvsum(), resetPricingVarBound(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_HEUREXEC(), and selectExtremePoints().

int GCGgetNLinkingvars ( SCIP *  scip)

return number of linking variables

Parameters
scipSCIP data structure

Definition at line 5014 of file relax_gcg.c.

References GCGgetNTransvars(), and RELAX_NAME.

Referenced by GCGgetNVarLinkingconss(), and ObjPricerGcg::getStabilizedDualObjectiveValue().

int GCGgetNRelPricingprobs ( SCIP *  scip)

returns the number of relevant pricing problems

Parameters
scipSCIP data structure

Definition at line 3877 of file relax_gcg.c.

References GCGgetNPricingprobs(), and RELAX_NAME.

Referenced by gcg::Pricingcontroller::canPricingloopBeAborted(), ObjPricerGcg::createStabilization(), GCGgetPricingprob(), ObjPricerGcg::pricingLoop(), and SCIP_DECL_SEPAEXECLP().

int GCGgetNTransvars ( SCIP *  scip)

return number of variables directly transferred to the master problem

Parameters
scipSCIP data structure

Definition at line 5033 of file relax_gcg.c.

References GCGgetBendersRelaxationSol(), and RELAX_NAME.

Referenced by GCGgetNLinkingvars(), and ObjPricerGcg::getStabilizedDualObjectiveValue().

int GCGgetNVarLinkingconss ( SCIP *  scip)
SCIP* GCGgetOriginalprob ( SCIP *  masterprob)

returns the original problem for the given master problem

Parameters
masterprobthe SCIP data structure for the master problem

Definition at line 3801 of file relax_gcg.c.

References DEC_DECMODE_BENDERS, DEC_DECMODE_DANTZIGWOLFE, DEC_DECMODE_ORIGINAL, GCGbendersGetOrigprob(), GCGgetDecompositionMode(), GCGgetMasterprob(), and GCGmasterGetOrigprob().

Referenced by createMasterProblem(), GCGmasterCreateInitialMastervars(), GCGmasterTransOrigSolToMasterVars(), GCGrelaxTransOrigToMasterCons(), and SCIP_DECL_DISPOUTPUT().

SCIP_CONS** GCGgetOrigMasterConss ( SCIP *  scip)

returns the contraints in the original problem that correspond to the constraints in the master problem

returns the linking constraints in the original problem that correspond to the constraints in the master problem

Parameters
scipSCIP data structure

Definition at line 4030 of file relax_gcg.c.

References GCGgetLinearOrigMasterConss(), and RELAX_NAME.

Referenced by GCGgetMasterConss().

SCIP_Real GCGgetPricingprobsMemUsed ( SCIP *  scip)

gets the total memory used after problem creation stage for all pricingproblems

Parameters
scipSCIP data structure

Definition at line 4877 of file relax_gcg.c.

References GCGrelaxIsInitialized(), and RELAX_NAME.

Referenced by GCGgetFilename(), and ObjPricerGcg::getMaxColsProb().

DEC_DECOMP* GCGgetStructDecdecomp ( SCIP *  scip)

gets the structure information

Parameters
scipSCIP data structure

Definition at line 4831 of file relax_gcg.c.

References GCGgetFilename(), and RELAX_NAME.

Referenced by GCGsetFilename(), and writeREFFile().

SCIP_CONS** GCGgetVarLinkingconss ( SCIP *  scip)

return linking constraints for variables

Parameters
scipSCIP data structure

Definition at line 4957 of file relax_gcg.c.

References GCGgetVarLinkingconssBlock(), and RELAX_NAME.

Referenced by GCGgetDegeneracy(), ObjPricerGcg::getStabilizedDualObjectiveValue(), gcg::Stabilization::linkingconsGetDual(), ObjPricerGcg::setPricingObjs(), and gcg::Stabilization::updateAlpha().

int* GCGgetVarLinkingconssBlock ( SCIP *  scip)

return blocks of linking constraints for variables

Parameters
scipSCIP data structure

Definition at line 4976 of file relax_gcg.c.

References GCGgetNVarLinkingconss(), and RELAX_NAME.

Referenced by GCGgetVarLinkingconss(), ObjPricerGcg::getStabilizedDualObjectiveValue(), ObjPricerGcg::setPricingObjs(), and gcg::Stabilization::updateAlpha().

SCIP_Bool GCGisConsGCGCons ( SCIP_CONS *  cons)

returns whether the constraint belongs to GCG or not

Parameters
consconstraint to check

Definition at line 796 of file misc.c.

Referenced by assignConstraintsToRepresentatives(), DECcreateBasicDecomp(), DECcreateDecompFromMasterconss(), DECdecompAddRemainingConss(), DECdecompCheckConsistency(), and fillConstoblock().

SCIP_Bool GCGisMasterSetCovering ( SCIP *  scip)

returns whether the master problem is a set covering problem

Parameters
scipSCIP data structure

Definition at line 4131 of file relax_gcg.c.

References GCGisMasterSetPartitioning(), and RELAX_NAME.

Referenced by GCGrelaxIsOrigSolFeasible(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), and SCIP_DECL_HEUREXEC().

SCIP_Bool GCGisMasterSetPartitioning ( SCIP *  scip)

returns whether the master problem is a set partitioning problem

Parameters
scipSCIP data structure

Definition at line 4150 of file relax_gcg.c.

References GCGrelaxStartProbing(), and RELAX_NAME.

Referenced by GCGisMasterSetCovering(), SCIP_DECL_BRANCHEXECLP(), and SCIP_DECL_BRANCHEXECPS().

SCIP_Bool GCGisOriginal ( SCIP *  scip)

returns whether the scip is the original scip instance

Parameters
scipSCIP data structure

Definition at line 641 of file misc.c.

Referenced by GCG_DECL_BRANCHMASTERSOLVED(), GCGbranchOrigUpdateExternBranchcands(), GCGconsMasterbranchReleaseOrigbranchConss(), GCGoriginalVarAddMasterVar(), GCGupdateVarStatistics(), and ObjPricerGcg::getMaxColsProb().

SCIP_Bool GCGisPricingprobRelevant ( SCIP *  scip,
int  pricingprobnr 
)

returns TRUE iff the pricingproblem of the given number is relevant, that means is not identical to another and represented by it

returns TRUE iff the pricing problem of the given number is relevant, that means is not identical to another and represented by it

Parameters
scipSCIP data structure
pricingprobnrnumber of the pricing problem

Definition at line 3918 of file relax_gcg.c.

References GCGgetBlockRepresentative(), and RELAX_NAME.

Referenced by ObjPricerGcg::addArtificialVars(), addPPObjConss(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCGgetNPricingprobs(), GCGpricerGetNPointsProb(), GCGpricerGetNRaysProb(), GCGprintDecompStatistics(), ObjPricerGcg::getConvconsDualsol(), ObjPricerGcg::getDualconvsum(), ObjPricerGcg::pricingLoop(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PRICERINITSOL(), selectExtremePointsRandomized(), ObjPricerGcg::setPricingObjs(), setPricingObjsOriginal(), gcg::Stabilization::updateAlpha(), and gcg::Stabilization::updateStabilityCenter().

SCIP_RETCODE GCGprintBlockcandidateInformation ( SCIP *  scip,
FILE *  file 
)

prints blockcandiateinformation in following format: NCANDIDATES CANDIDATE : NVOTES for each candidate

Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 7180 of file cons_decomp.cpp.

References CONSHDLR_NAME, GCGprintCompleteDetectionTime(), gcg::Seeedpool::printBlockcandidateInformation(), and SCIP_ConshdlrData::seeedpool.

Referenced by GCGgetCurrentSeeedpools(), GCGprintCompleteDetectionStatistics(), and SCIP_DECL_DIALOGEXEC().

SCIP_RETCODE GCGprintClassifierInformation ( SCIP *  scip,
FILE *  file 
)

prints classifier information in following format: NCLASSIFIER CLASSIFIERNAME for each classifier NCLASSES CLASSNAME for each class NMEMBERS

Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 7225 of file cons_decomp.cpp.

References CONSHDLR_NAME, gcg::Seeedpool::printClassifierInformation(), SCIPconshdlrDecompGetSelectedSeeeds(), and SCIP_ConshdlrData::seeedpool.

Referenced by GCGprintCompleteDetectionStatistics(), and GCGprintCompleteDetectionTime().

SCIP_RETCODE GCGprintCompleteDetectionStatistics ( SCIP *  scip,
FILE *  file 
)

print out complete detection statistics

Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 761 of file misc.c.

References GCGdetectionTookPlace(), GCGprintBlockcandidateInformation(), GCGprintClassifierInformation(), GCGprintCompleteDetectionTime(), GCGprintDecompInformation(), and GCGprintInstanceName().

Referenced by SCIP_DECL_DIALOGEXEC().

SCIP_RETCODE GCGprintCompleteDetectionTime ( SCIP *  scip,
FILE *  file 
)
Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 7204 of file cons_decomp.cpp.

References GCGprintClassifierInformation(), and SCIPconshdlrDecompGetCompleteDetectionTime().

Referenced by GCGprintBlockcandidateInformation(), and GCGprintCompleteDetectionStatistics().

SCIP_RETCODE GCGprintDecompInformation ( SCIP *  scip,
FILE *  file 
)

prints blockcandiateinformation in following format: NDECOMPS NBLOCKS for each decomp NCONSS for each block NVARS endfor each block NMASTERCONSS NLINKINGVARS NMASTERVARS NSTAIRLINKINGVARS MAXWHITESCORE CLASSICALSCORE HASSETPARTITIONINGMASTER NDETECTORS DETECTORNAME for each detector NCONSCLASSIFIERS CONSCLASSIFIERNAME for each consclassifier nCLASSESMASTER CLASSNAME for each class NVARCLASSIFIERS VARCLASSIFIERNAME for each varclassifier nCLASSESMASTER CLASSNAME for each class

Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 7302 of file cons_decomp.cpp.

References CLASSIC, CONSHDLR_NAME, DECdetectorGetName(), GCGprintMiplibBaseInformation(), gcg::Seeed::getDetectorchainVector(), gcg::Seeed::getMaxWhiteScore(), gcg::Seeed::getNBlocks(), gcg::Seeed::getNConssForBlock(), gcg::Seeed::getNLinkingvars(), gcg::Seeed::getNMasterconss(), gcg::Seeed::getNMastervars(), gcg::Seeed::getNTotalStairlinkingvars(), gcg::Seeed::getNVarsForBlock(), gcg::Seeed::getScore(), gcg::Seeed::hasSetppccardMaster(), MAX_FORESSEEING_WHITE, gcg::Seeed::printClassifierInformation(), and SCIPconshdlrDecompUpdateSeeedlist().

Referenced by GCGprintCompleteDetectionStatistics(), and SCIPconshdlrDecompGetSelectedSeeeds().

void GCGprintDegeneracy ( SCIP *  scip,
double  degeneracy 
)

prints out the degeneracy of the problem

Parameters
scipSCIP data structure
degeneracydegeneracy to print
SCIP_RETCODE GCGprintInstanceName ( SCIP *  scip,
FILE *  file 
)
Parameters
scipSCIP data structure
fileoutput file or NULL for standard output

Definition at line 705 of file misc.c.

References GCGgetFilename().

Referenced by GCGprintCompleteDetectionStatistics().

SCIP_RETCODE GCGprintMiplibStructureInformation ( SCIP *  scip,
SCIP_DIALOGHDLR *  dialoghdlr 
)
SCIP_RETCODE GCGprintStatistics ( SCIP *  scip,
FILE *  file 
)
SCIP_Bool GCGrelaxIsInitialized ( SCIP *  scip)

returns whether the relaxator has been initialized

Parameters
scipSCIP data structure

Definition at line 4910 of file relax_gcg.c.

References GCGgetDegeneracy(), and RELAX_NAME.

Referenced by GCGgetPricingprobsMemUsed(), and SCIP_DECL_EVENTEXEC().

SCIP_RETCODE GCGsetFilename ( SCIP *  scip,
const char *  filename 
)

sets the filename information

sets the structure information

Parameters
scipSCIP data structure
filenameinput file name

Definition at line 4804 of file relax_gcg.c.

References SCIP_RelaxData::filename, GCGgetStructDecdecomp(), and RELAX_NAME.

Referenced by fromCommandLine(), GCGsetStructDecdecomp(), and SCIP_DECL_DIALOGEXEC().

SCIP_RETCODE GCGsetStructDecdecomp ( SCIP *  scip,
DEC_DECOMP decdecomp 
)

sets the structure information

Parameters
scipSCIP data structure
decdecompdecomposition data structure

Definition at line 4778 of file relax_gcg.c.

References SCIP_RelaxData::decdecomp, DECdecompFree(), GCGsetFilename(), and RELAX_NAME.

Referenced by GCGrelaxUpdateCurrentSol(), and initRelaxator().

SCIP_RETCODE GCGtransformMastersolToOrigsol ( SCIP *  scip,
SCIP_SOL *  mastersol,
SCIP_SOL **  origsol 
)

transforms given solution of the master problem into solution of the original problem

transforms given solution of the master problem into solution of the original problem

Todo:
think about types of epsilons used in this method
Todo:
handle infinite master solution values
Todo:
this may be the wrong place for this case, handle it before the while loop and remove the similar case in the next while loop
Parameters
scipSCIP data structure
mastersolsolution of the master problem, or NULL for current LP solution
origsolpointer to store the new created original problem's solution

Definition at line 124 of file misc.c.

References DEC_DECMODE_BENDERS, DEC_DECMODE_ORIGINAL, GCGgetBendersRelaxationSol(), GCGgetDecompositionMode(), GCGgetMasterprob(), GCGgetNPricingprobs(), GCGmasterIsSolValid(), GCGmasterVarGetNOrigvars(), GCGmasterVarGetOrigvals(), GCGmasterVarGetOrigvars(), GCGmasterVarIsRay(), GCGoriginalVarGetPricingVar(), GCGoriginalVarIsLinking(), GCGpricingVarGetNOrigvars(), GCGpricingVarGetOrigvars(), GCGrelaxGetProbingheur(), GCGsortPtrPtr(), GCGvarGetBlock(), GCGvarIsMaster(), and GCGvarIsPricing().

Referenced by createNewSol(), GCGrelaxEndProbing(), GCGrelaxUpdateCurrentSol(), getRootRelaxSol(), relaxExecGcgDantzigWolfe(), SCIP_DECL_CONSCHECK(), solveDiagonalBlocks(), and solveMasterProblemAndEvaluate().

void GCGtransformOrigvalsToMastervals ( SCIP *  scip,
SCIP_VAR **  origvars,
SCIP_Real *  origvals,
int  norigvars,
SCIP_VAR **  mastervars,
SCIP_Real *  mastervals,
int  nmastervars 
)

transforms given values of the given original variables into values of the given master variables

Parameters
scipSCIP data structure
origvarsarray with (subset of the) original variables
origvalsarray with values (coefs) for the given original variables
norigvarsnumber of given original variables
mastervarsarray of (all present) master variables
mastervalsarray to store the values of the master variables
nmastervarsnumber of master variables

Definition at line 548 of file misc.c.

References GCGoriginalVarGetMastervals(), GCGoriginalVarGetMastervars(), GCGoriginalVarGetNMastervars(), GCGoriginalVarGetPricingVar(), GCGpricingVarGetOriginalVar(), GCGvarGetBlock(), GCGvarIsOriginal(), and GCGvarIsPricing().

Referenced by SCIP_DECL_SEPAEXECLP().