Detailed Description
Public methods from the scip_misc.c file.
Functions | |
SCIP_Bool | GCGisVarRelevant (SCIP_VAR *var) |
consType | GCGconsGetType (SCIP *scip, SCIP_CONS *cons) |
SCIP_Real | GCGconsGetRhs (SCIP *scip, SCIP_CONS *cons) |
SCIP_Real | GCGconsGetLhs (SCIP *scip, SCIP_CONS *cons) |
SCIP_Real | GCGconsGetDualfarkas (SCIP *scip, SCIP_CONS *cons) |
SCIP_Real | GCGconsGetDualsol (SCIP *scip, SCIP_CONS *cons) |
int | GCGconsGetNVars (SCIP *scip, SCIP_CONS *cons) |
SCIP_RETCODE | GCGconsGetVars (SCIP *scip, SCIP_CONS *cons, SCIP_VAR **vars, int nvars) |
SCIP_RETCODE | GCGconsGetVals (SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int nvals) |
SCIP_Bool | GCGconsIsRanged (SCIP *scip, SCIP_CONS *cons) |
SCIP_Bool | GCGgetConsIsSetppc (SCIP *scip, SCIP_CONS *cons, SCIP_SETPPCTYPE *setppctype) |
SCIP_Bool | GCGgetConsIsCardinalityCons (SCIP *scip, SCIP_CONS *cons) |
SCIP_Bool | GCGisRootNode (SCIP *scip) |
SCIP_RETCODE | GCGincludeDialogsGraph (SCIP *scip) |
Function Documentation
◆ GCGisVarRelevant()
SCIP_Bool GCGisVarRelevant | ( | SCIP_VAR * | var | ) |
returns TRUE if variable is relevant, FALSE otherwise
Definition at line 41 of file scip_misc.c.
Referenced by gcg::BipartiteGraph< T >::createFromMatrix(), gcg::HyperrowcolGraph< T >::createFromMatrix(), gcg::ColumnGraph< T >::createFromMatrix(), gcg::RowGraph< T >::createFromMatrix(), gcg::RowGraphWeighted< T >::createFromMatrix(), gcg::HypercolGraph< T >::createFromMatrix(), gcg::HyperrowGraph< T >::createFromMatrix(), DECevaluateDecomposition(), and readBlockconss().
◆ GCGconsGetType()
consType GCGconsGetType | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the type of an arbitrary SCIP constraint
Definition at line 51 of file scip_misc.c.
References knapsack, linear, logicor, setcovering, setpacking, setpartitioning, sos1, sos2, unknown, and varbound.
Referenced by DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), and gcg::PARTIALDECOMP::getScore().
◆ GCGconsGetRhs()
SCIP_Real GCGconsGetRhs | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the rhs of an arbitrary SCIP constraint
Definition at line 108 of file scip_misc.c.
Referenced by ObjPricerGcg::addArtificialVars(), buildProblem(), createMasterprobConss(), DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), DECgetVarLockData(), GCGconsIsRanged(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), GCGrelaxTransOrigToMasterCons(), ObjPricerGcg::getStabilizedDualObjectiveValue(), shuffleDualvalsRandom(), and updateBranchingConss().
◆ GCGconsGetLhs()
SCIP_Real GCGconsGetLhs | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the lhs of an arbitrary SCIP constraint
Definition at line 206 of file scip_misc.c.
Referenced by ObjPricerGcg::addArtificialVars(), buildProblem(), createMasterprobConss(), DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), DECgetVarLockData(), GCGconsIsRanged(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), GCGrelaxTransOrigToMasterCons(), ObjPricerGcg::getStabilizedDualObjectiveValue(), shuffleDualvalsRandom(), and updateBranchingConss().
◆ GCGconsGetDualfarkas()
SCIP_Real GCGconsGetDualfarkas | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the dual farkas sol of an arbitrary SCIP constraint
Definition at line 303 of file scip_misc.c.
◆ GCGconsGetDualsol()
SCIP_Real GCGconsGetDualsol | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the dual sol of an arbitrary SCIP constraint
Definition at line 368 of file scip_misc.c.
Referenced by calculateDualvalsOptimalOrigLP().
◆ GCGconsGetNVars()
int GCGconsGetNVars | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns the number of variables in an arbitrary SCIP constraint
Definition at line 434 of file scip_misc.c.
Referenced by assignConstraintsToRepresentatives(), buildProblem(), computeConssNzeros(), convertStructToGCG(), createGraph(), createMasterprobConss(), createPricingprobConss(), createTestPricingprobConss(), DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), DECdecompCheckConsistency(), DECevaluateDecomposition(), gcg::DETPROBDATA::DETPROBDATA(), fillDecompStruct(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), ObjPricerGcg::getStabilizedDualObjectiveValue(), saveOriginalVarMastercoeffs(), ObjPricerGcg::setPricingObjs(), setupArrays(), setuparrays(), shuffleDualvalsRandom(), and updateBranchingConss().
◆ GCGconsGetVars()
SCIP_RETCODE GCGconsGetVars | ( | SCIP * | scip, |
SCIP_CONS * | cons, | ||
SCIP_VAR ** | vars, | ||
int | nvars | ||
) |
returns the variable array of an arbitrary SCIP constraint
Definition at line 488 of file scip_misc.c.
Referenced by assignConstraintsToRepresentatives(), buildProblem(), computeConssNzeros(), convertStructToGCG(), createGraph(), createMasterprobConss(), createPricingprobConss(), createTestPricingprobConss(), DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), DECdecompCheckConsistency(), DECevaluateDecomposition(), gcg::DETPROBDATA::DETPROBDATA(), fillDecompStruct(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), ObjPricerGcg::getStabilizedDualObjectiveValue(), saveOriginalVarMastercoeffs(), ObjPricerGcg::setPricingObjs(), setupArrays(), and updateBranchingConss().
◆ GCGconsGetVals()
SCIP_RETCODE GCGconsGetVals | ( | SCIP * | scip, |
SCIP_CONS * | cons, | ||
SCIP_Real * | vals, | ||
int | nvals | ||
) |
returns the value array of an arbitrary SCIP constraint
Returns the value array of an arbitrary SCIP constraint
Definition at line 619 of file scip_misc.c.
Referenced by buildProblem(), computeConssNzeros(), createGraph(), createMasterprobConss(), DEC_DECL_CONSCLASSIFY(), DEC_DECL_PROPAGATEPARTIALDEC(), DECgetVarLockData(), gcg::DETPROBDATA::DETPROBDATA(), GCGgetConsIsCardinalityCons(), GCGgetConsIsSetppc(), ObjPricerGcg::getStabilizedDualObjectiveValue(), saveOriginalVarMastercoeffs(), ObjPricerGcg::setPricingObjs(), setupArrays(), setuparrays(), shuffleDualvalsRandom(), and updateBranchingConss().
◆ GCGconsIsRanged()
SCIP_Bool GCGconsIsRanged | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns true if the constraint should be a master constraint and false otherwise
Definition at line 742 of file scip_misc.c.
References GCGconsGetLhs(), and GCGconsGetRhs().
◆ GCGgetConsIsSetppc()
SCIP_Bool GCGgetConsIsSetppc | ( | SCIP * | scip, |
SCIP_CONS * | cons, | ||
SCIP_SETPPCTYPE * | setppctype | ||
) |
returns true if the constraint should be a master constraint and false otherwise
Definition at line 761 of file scip_misc.c.
References GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), logicor, setcovering, and setpartitioning.
Referenced by checkSetppcStructure(), gcg::DETPROBDATA::isConsSetpp(), and gcg::DETPROBDATA::isConsSetppc().
◆ GCGgetConsIsCardinalityCons()
SCIP_Bool GCGgetConsIsCardinalityCons | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
returns true if the constraint should be a master constraint and false otherwise
Definition at line 847 of file scip_misc.c.
References GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetType(), GCGconsGetVals(), GCGconsGetVars(), and setpartitioning.
Referenced by gcg::DETPROBDATA::isConsCardinalityCons().
◆ GCGisRootNode()
SCIP_Bool GCGisRootNode | ( | SCIP * | scip | ) |
returns TRUE or FALSE, depending whether we are in the root node or not
Definition at line 919 of file scip_misc.c.
Referenced by GCGmasterGetDegeneracy(), ReducedCostPricing::getMaxcolsprob(), ReducedCostPricing::getMaxcolsround(), ReducedCostPricing::getRelmaxprobs(), and ObjPricerGcg::priceNewVariables().
◆ GCGincludeDialogsGraph()
SCIP_RETCODE GCGincludeDialogsGraph | ( | SCIP * | scip | ) |
inludes all graph submenu entries
Definition at line 220 of file dialog_graph.cpp.
References SCIPincludeObjDialog().
Referenced by SCIPincludeGcgPlugins().