Detailed Description
Function Documentation
◆ SCIP_DECL_SORTPTRCOMP() [1/2]
| GCG_EXPORT SCIP_DECL_SORTPTRCOMP | ( | GCGpricingcbComp | ) |
compares two pricing callback plugins w. r. to their priority
compares two pricing callbacks w.r.t their priority
Definition at line 57 of file pricingcb.c.
References NULL, and GCG_Pricingcb::priority.
◆ SCIP_DECL_SORTPTRCOMP() [2/2]
| GCG_EXPORT SCIP_DECL_SORTPTRCOMP | ( | GCGpricingcbCompName | ) |
comparison method for sorting pricing callback plugins w.r.t. to their name
comparison method for sorting pricing callbacks w.r.t their name
Definition at line 69 of file pricingcb.c.
References GCGpricingcbGetName().
◆ GCGpricingcbGetData()
| GCG_EXPORT GCG_PRICINGCBDATA * GCGpricingcbGetData | ( | GCG_PRICINGCB * | pricingcb | ) |
gets user data of the pricing callback plugin
gets user data of the pricing callback
- Parameters
-
pricingcb pricing callback
Definition at line 410 of file pricingcb.c.
References NULL, and GCG_Pricingcb::pricingcbdata.
◆ GCGpricingcbSetData()
| GCG_EXPORT void GCGpricingcbSetData | ( | GCG_PRICINGCB * | pricingcb, |
| GCG_PRICINGCBDATA * | pricingcbdata | ||
| ) |
sets user data of the pricing callback plugin; user has to free old data in advance!
sets user data of the pricing callback; user has to free old data in advance!
- Parameters
-
pricingcb pricing callback pricingcbdata new pricing callback user data
Definition at line 420 of file pricingcb.c.
References NULL, and GCG_Pricingcb::pricingcbdata.
◆ GCGpricingcbGetName()
| GCG_EXPORT const char * GCGpricingcbGetName | ( | GCG_PRICINGCB * | pricingcb | ) |
gets name of the pricing callback plugin
gets name of the pricing callback
- Parameters
-
pricingcb pricing callback
Definition at line 498 of file pricingcb.c.
References GCG_Pricingcb::name, and NULL.
Referenced by GCGpricerFindPricingcb(), and SCIP_DECL_SORTPTRCOMP().
◆ GCGpricingcbGetDesc()
| GCG_EXPORT const char * GCGpricingcbGetDesc | ( | GCG_PRICINGCB * | pricingcb | ) |
gets description of the pricing callback plugin
gets description of the pricing callback
- Parameters
-
pricingcb pricing callback
Definition at line 508 of file pricingcb.c.
References GCG_Pricingcb::desc, and NULL.
◆ GCGpricingcbGetPriority()
| GCG_EXPORT int GCGpricingcbGetPriority | ( | GCG_PRICINGCB * | pricingcb | ) |
gets priority of the pricing callback plugin
gets priority of the pricing callback
- Parameters
-
pricingcb pricing callback
Definition at line 518 of file pricingcb.c.
References NULL, and GCG_Pricingcb::priority.
◆ GCGpricingcbGetNPrepricingCalls()
| GCG_EXPORT SCIP_Longint GCGpricingcbGetNPrepricingCalls | ( | GCG_PRICINGCB * | pricingcb | ) |
gets the number of times the pre-pricing method of the pricing callback plugin was called
- Parameters
-
pricingcb pricing callback
Definition at line 528 of file pricingcb.c.
References GCG_Pricingcb::nprepricingcalls, NULL, and SCIP_Longint.
◆ GCGpricingcbGetNPostpricingCalls()
| GCG_EXPORT SCIP_Longint GCGpricingcbGetNPostpricingCalls | ( | GCG_PRICINGCB * | pricingcb | ) |
gets the number of times the post-pricing method of the pricing callback plugin was called
- Parameters
-
pricingcb pricing callback
Definition at line 538 of file pricingcb.c.
References GCG_Pricingcb::npostpricingcalls, NULL, and SCIP_Longint.
◆ GCGpricingcbGetSetupTime()
| GCG_EXPORT SCIP_Real GCGpricingcbGetSetupTime | ( | GCG * | gcg, |
| GCG_PRICINGCB * | pricingcb | ||
| ) |
gets time in seconds used in this pricing callback plugin for setting up for next stages
gets time in seconds used by this pricing callback for setting up
- Parameters
-
gcg GCG data structure pricingcb pricing callback
Definition at line 548 of file pricingcb.c.
References GCGgetMasterprob(), NULL, SCIP_Real, SCIPgetClockTime(), and GCG_Pricingcb::setuptime.
◆ GCGpricingcbGetTime()
| GCG_EXPORT SCIP_Real GCGpricingcbGetTime | ( | GCG * | gcg, |
| GCG_PRICINGCB * | pricingcb | ||
| ) |
gets time in seconds used in this pricing callback plugin
gets time in seconds used in this pricing callback
- Parameters
-
gcg GCG data structure pricingcb pricing callback
Definition at line 559 of file pricingcb.c.
References GCGgetMasterprob(), NULL, GCG_Pricingcb::pricingcbclock, SCIP_Real, and SCIPgetClockTime().
◆ GCGpricingcbSetEnabled()
| GCG_EXPORT void GCGpricingcbSetEnabled | ( | GCG_PRICINGCB * | pricingcb, |
| SCIP_Bool | enabled | ||
| ) |
sets the enabled flag of the pricing callback plugin method
sets the enabled flag of the pricing callback method
- Parameters
-
pricingcb pricing callback enabled flag to indicate whether the pricing callback is enabled
Definition at line 570 of file pricingcb.c.
References GCG_Pricingcb::enabled, and NULL.
Referenced by performWeightedPricing().
◆ GCGpricingcbSetExclusive()
| GCG_EXPORT void GCGpricingcbSetExclusive | ( | GCG_PRICINGCB * | pricingcb, |
| SCIP_Bool | exclusive | ||
| ) |
sets the exclusive flag of the pricing callback plugin method
- Parameters
-
pricingcb pricing callback exclusive flag to indicate whether the pricing callback plugin is executed exclusively
Definition at line 581 of file pricingcb.c.
References GCG_Pricingcb::exclusive, and NULL.
Referenced by performWeightedPricing().
◆ GCGpricingcbIsEnabled()
| GCG_EXPORT SCIP_Bool GCGpricingcbIsEnabled | ( | GCG_PRICINGCB * | pricingcb | ) |
returns whether the pricing callback is enabled
- Parameters
-
pricingcb pricing callback
Definition at line 592 of file pricingcb.c.
References GCG_Pricingcb::enabled, NULL, and SCIP_Bool.
◆ GCGpricingcbIsExclusive()
| GCG_EXPORT SCIP_Bool GCGpricingcbIsExclusive | ( | GCG_PRICINGCB * | pricingcb | ) |
returns whether the methods of this pricing callback should be executed exclusively
- Parameters
-
pricingcb pricing callback
Definition at line 602 of file pricingcb.c.
References GCG_Pricingcb::exclusive, NULL, and SCIP_Bool.